diff --git a/docs/basics/controllers.md b/docs/basics/controllers.md index 160feedf..759c6782 100644 --- a/docs/basics/controllers.md +++ b/docs/basics/controllers.md @@ -2,7 +2,7 @@ Controllers are a great way to organize your code. They are collections of methods that accept a request and return a response. -A good place to put your controllers is in the [Controllers](../gettingstarted/folder-structure.md#controllers) folder. +A good place to put your controllers is in the [Controllers](../getting-started/folder-structure.md#controllers) folder. ## Overview diff --git a/docs/basics/controllers.zh.md b/docs/basics/controllers.zh.md index 32c8e084..a8e70a6a 100644 --- a/docs/basics/controllers.zh.md +++ b/docs/basics/controllers.zh.md @@ -2,7 +2,7 @@ `Controller` 是将应用程序的不同逻辑进行分组的优秀方案,大多数 Controller 都具备接受多种请求的功能,并根据需要进行响应。 -建议将其放在 [Controllers](../gettingstarted/folder-structure.md#controllers) 文件夹下,具体情况可以根据需求划分模块。 +建议将其放在 [Controllers](../getting-started/folder-structure.md#controllers) 文件夹下,具体情况可以根据需求划分模块。 ## 概述 diff --git a/docs/fluent/overview.md b/docs/fluent/overview.md index 160130a1..8f5cf61a 100644 --- a/docs/fluent/overview.md +++ b/docs/fluent/overview.md @@ -8,7 +8,7 @@ When creating a project using `vapor new`, answer "yes" to including Fluent and ### Existing Project -If you have an existing project that you want to add Fluent to, you will need to add two dependencies to your [package](../gettingstarted/spm.md): +If you have an existing project that you want to add Fluent to, you will need to add two dependencies to your [package](../getting-started/spm.md): - [vapor/fluent](https://github.com/vapor/fluent)@4.0.0 - One (or more) Fluent driver(s) of your choice diff --git a/docs/gettingstarted/folder-structure.de.md b/docs/getting-started/folder-structure.de.md similarity index 100% rename from docs/gettingstarted/folder-structure.de.md rename to docs/getting-started/folder-structure.de.md diff --git a/docs/gettingstarted/folder-structure.md b/docs/getting-started/folder-structure.md similarity index 100% rename from docs/gettingstarted/folder-structure.md rename to docs/getting-started/folder-structure.md diff --git a/docs/gettingstarted/folder-structure.zh.md b/docs/getting-started/folder-structure.zh.md similarity index 100% rename from docs/gettingstarted/folder-structure.zh.md rename to docs/getting-started/folder-structure.zh.md diff --git a/docs/gettingstarted/hello-world.de.md b/docs/getting-started/hello-world.de.md similarity index 100% rename from docs/gettingstarted/hello-world.de.md rename to docs/getting-started/hello-world.de.md diff --git a/docs/gettingstarted/hello-world.md b/docs/getting-started/hello-world.md similarity index 100% rename from docs/gettingstarted/hello-world.md rename to docs/getting-started/hello-world.md diff --git a/docs/gettingstarted/hello-world.zh.md b/docs/getting-started/hello-world.zh.md similarity index 100% rename from docs/gettingstarted/hello-world.zh.md rename to docs/getting-started/hello-world.zh.md diff --git a/docs/gettingstarted/spm.de.md b/docs/getting-started/spm.de.md similarity index 100% rename from docs/gettingstarted/spm.de.md rename to docs/getting-started/spm.de.md diff --git a/docs/gettingstarted/spm.md b/docs/getting-started/spm.md similarity index 100% rename from docs/gettingstarted/spm.md rename to docs/getting-started/spm.md diff --git a/docs/gettingstarted/spm.zh.md b/docs/getting-started/spm.zh.md similarity index 100% rename from docs/gettingstarted/spm.zh.md rename to docs/getting-started/spm.zh.md diff --git a/docs/gettingstarted/xcode.md b/docs/getting-started/xcode.md similarity index 100% rename from docs/gettingstarted/xcode.md rename to docs/getting-started/xcode.md diff --git a/docs/gettingstarted/xcode.zh.md b/docs/getting-started/xcode.zh.md similarity index 100% rename from docs/gettingstarted/xcode.zh.md rename to docs/getting-started/xcode.zh.md diff --git a/docs/index.de.md b/docs/index.de.md index fc42218d..f3ed03a3 100644 --- a/docs/index.de.md +++ b/docs/index.de.md @@ -4,7 +4,7 @@ Willkommen zur Dokumentation von Vapor! Vapor ist ein Web-Framework für Swift, ## Einstieg -Für die Installation, folge den Anweisungen im Abschnitt [Installation → macOS](install/macos.de.md). Nach der Installation, folge den Anweisungen [Erste Schritte → Hello, world](gettingstarted/hello-world.de.md) um deine erste Vapor-Anwendungen zu erstellen. +Für die Installation, folge den Anweisungen im Abschnitt [Installation → macOS](install/macos.de.md). Nach der Installation, folge den Anweisungen [Erste Schritte → Hello, world](getting-started/hello-world.de.md) um deine erste Vapor-Anwendungen zu erstellen. ## Hilfen diff --git a/docs/index.md b/docs/index.md index 66967dd5..2bee66e3 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,7 @@ Welcome to the Vapor Documentation! Vapor is a web framework for Swift, allowing If this is your first time using Vapor, head to [Install → macOS](install/macos.md) to install Swift and Vapor. -Once you have Vapor installed, check out [Getting Started → Hello, world](gettingstarted/hello-world.md) to create your first Vapor app! +Once you have Vapor installed, check out [Getting Started → Hello, world](getting-started/hello-world.md) to create your first Vapor app! ## Other Sources diff --git a/docs/index.nl.md b/docs/index.nl.md index ce943092..e86ed2b3 100644 --- a/docs/index.nl.md +++ b/docs/index.nl.md @@ -4,7 +4,7 @@ Welkom bij de Vapor Documentatie! Vapor is een web framework voor Swift, dat u t Als dit je eerste keer is dat je Vapor gebruikt, ga naar [Install → macOS](install/macos.md) om Swift en Vapor te installeren. -Wanneer dat je Vapor hebt geinstalleerd, bekijk dan [Getting Started → Hello, world](gettingstarted/hello-world.md) om je eerste Vapor app te maken. +Wanneer dat je Vapor hebt geinstalleerd, bekijk dan [Getting Started → Hello, world](getting-started/hello-world.md) om je eerste Vapor app te maken. ## Andere bronnen diff --git a/docs/index.zh.md b/docs/index.zh.md index 9c7b8ad3..ba629978 100644 --- a/docs/index.zh.md +++ b/docs/index.zh.md @@ -10,7 +10,7 @@ Vapor 是 Swift 最流行的 Web 网络框架。它可以为你的网站或 API 如果你是第一次使用 Vapor,请前往 [安装 → macOS](install/macos.md) 安装 Swift 和 Vapor 开发环境。 -Vapor 安装完成后,请查看 [开始 → 你好,世界](gettingstarted/hello-world.md) 示例,以创建你的第一个 Vapor 应用程序! +Vapor 安装完成后,请查看 [开始 → 你好,世界](getting-started/hello-world.md) 示例,以创建你的第一个 Vapor 应用程序! ## 其他资源 diff --git a/docs/install/linux.md b/docs/install/linux.md index 2d2b8a5d..e86c857d 100644 --- a/docs/install/linux.md +++ b/docs/install/linux.md @@ -60,4 +60,4 @@ You should see a list of available commands. ## Next -After you have installed Swift, create your first app in [Getting Started → Hello, world](../gettingstarted/hello-world.md). +After you have installed Swift, create your first app in [Getting Started → Hello, world](../getting-started/hello-world.md). diff --git a/docs/install/linux.zh.md b/docs/install/linux.zh.md index dbeb474b..8afb5e53 100644 --- a/docs/install/linux.zh.md +++ b/docs/install/linux.zh.md @@ -62,4 +62,4 @@ vapor --help ## 下一步 -在你安装完 Swift 之后,通过 [开始 → Hello, world](../gettingstarted/hello-world.md) 来学习创建你的第一个应用。 +在你安装完 Swift 之后,通过 [开始 → Hello, world](../getting-started/hello-world.md) 来学习创建你的第一个应用。 diff --git a/docs/install/macos.de.md b/docs/install/macos.de.md index 830c4fa9..a4a3ffd3 100644 --- a/docs/install/macos.de.md +++ b/docs/install/macos.de.md @@ -29,4 +29,4 @@ brew install vapor ## -Nach den Installationen kannst du mit der Erstellung deiner ersten Vapor-Anwendung beginnen. Folge dazu den Anweisungen im Abschnitt [Erste Schritte → Hello, world](../gettingstarted/hello-world.de.md). +Nach den Installationen kannst du mit der Erstellung deiner ersten Vapor-Anwendung beginnen. Folge dazu den Anweisungen im Abschnitt [Erste Schritte → Hello, world](../getting-started/hello-world.de.md). diff --git a/docs/install/macos.md b/docs/install/macos.md index 55b6c3a5..dc49a3c4 100644 --- a/docs/install/macos.md +++ b/docs/install/macos.md @@ -45,4 +45,4 @@ You should see a list of available commands. ## Next -Now that you have installed Swift and Vapor Toolbox, create your first app in [Getting Started → Hello, world](../gettingstarted/hello-world.md). +Now that you have installed Swift and Vapor Toolbox, create your first app in [Getting Started → Hello, world](../getting-started/hello-world.md). diff --git a/docs/install/macos.zh.md b/docs/install/macos.zh.md index 5a9c33a8..ea0aa908 100644 --- a/docs/install/macos.zh.md +++ b/docs/install/macos.zh.md @@ -45,4 +45,4 @@ vapor --help ## 下一步 -现在你已经安装了 Swift and Vapor Toolbox,在 [开始 → 你好,世界](../gettingstarted/hello-world.md) 中创建你的第一个 Vapor 应用程序。 +现在你已经安装了 Swift and Vapor Toolbox,在 [开始 → 你好,世界](../getting-started/hello-world.md) 中创建你的第一个 Vapor 应用程序。 diff --git a/docs/leaf/getting-started.md b/docs/leaf/getting-started.md index 90e3d991..edacaaef 100644 --- a/docs/leaf/getting-started.md +++ b/docs/leaf/getting-started.md @@ -31,7 +31,7 @@ let package = Package( ## Configure -Once you have added the package to your project, you can configure Vapor to use it. This is usually done in [`configure.swift`](../gettingstarted/folder-structure.md#configureswift). +Once you have added the package to your project, you can configure Vapor to use it. This is usually done in [`configure.swift`](../getting-started/folder-structure.md#configureswift). ```swift import Leaf diff --git a/docs/redis/overview.md b/docs/redis/overview.md index abd8c70c..0e523b04 100644 --- a/docs/redis/overview.md +++ b/docs/redis/overview.md @@ -14,7 +14,7 @@ This library is an integration between Vapor and [**RediStack**](https://gitlab. The first step to using Redis is adding it as a dependency to your project in your Swift package manifest. -> This example is for an existing package. For help on starting a new project, see the main [Getting Started](../gettingstarted/hello-world.md) guide. +> This example is for an existing package. For help on starting a new project, see the main [Getting Started](../getting-started/hello-world.md) guide. ```swift dependencies: [ diff --git a/docs/security/jwt.md b/docs/security/jwt.md index 2d9dc3ac..e720c9d1 100644 --- a/docs/security/jwt.md +++ b/docs/security/jwt.md @@ -5,7 +5,7 @@ JSON Web Token (JWT) is an open standard ([RFC 7519](https://tools.ietf.org/html ## Getting Started -The first step to using JWT is adding the dependency to your [Package.swift](../gettingstarted/spm.md#package-manifest). +The first step to using JWT is adding the dependency to your [Package.swift](../getting-started/spm.md#package-manifest). ```swift // swift-tools-version:5.2 diff --git a/mkdocs.yml b/mkdocs.yml index fb1ef3f1..fc3bab38 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -158,10 +158,10 @@ nav: - macOS: "install/macos.md" - Linux: "install/linux.md" - Getting Started: - - Hello, world: "gettingstarted/hello-world.md" - - Folder Structure: "gettingstarted/folder-structure.md" - - SPM: "gettingstarted/spm.md" - - Xcode: "gettingstarted/xcode.md" + - Hello, world: "getting-started/hello-world.md" + - Folder Structure: "getting-started/folder-structure.md" + - SPM: "getting-started/spm.md" + - Xcode: "getting-started/xcode.md" - Basics: - Routing: "basics/routing.md" # TODO: Improve quality