From 71ece0bebe087cf20435098973984ecfdc1c5dbd Mon Sep 17 00:00:00 2001 From: Tanner Nelson Date: Sat, 30 Jul 2016 16:17:21 -0400 Subject: [PATCH] base url updates --- README.md | 4 +++- couscous.yml | 2 ++ getting-started/hello-world.md | 4 ++-- getting-started/install-swift-3-macos.md | 2 +- getting-started/install-swift-3-ubuntu.md | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a7d8afea..c8ce412f 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -# Vapor Documentation \ No newline at end of file +# Vapor Documentation + +Visit the Getting Started section to install Swift 3 and the Toolbox. \ No newline at end of file diff --git a/couscous.yml b/couscous.yml index 3019237b..04ade4eb 100644 --- a/couscous.yml +++ b/couscous.yml @@ -4,6 +4,8 @@ template: title: Vapor Documentation subTitle: A web framework and server for Swift that works on macOS and Ubuntu. +baseUrl: https://qutheory.github.io/documentation + menu: sections: links: diff --git a/getting-started/hello-world.md b/getting-started/hello-world.md index 3d162880..ce2f28c1 100644 --- a/getting-started/hello-world.md +++ b/getting-started/hello-world.md @@ -61,9 +61,9 @@ drop.get("hello") { request in This creates a new route on the `Droplet` that will match all `GET` requests to `/hello`. -All route closures are passed an instance of [Request](/guide/request.html) that contains information such as the URI requested and data sent. +All route closures are passed an instance of [Request]({{baseUrl}}/guide/request.html) that contains information such as the URI requested and data sent. -This route simply returns a string, but anything that is [ResponseRepresentable](/guide/routing.html) can be returned. Learn more in the [Routing](/guide/routing.html) section of the guide. +This route simply returns a string, but anything that is [ResponseRepresentable]({{baseUrl}}/guide/routing.html) can be returned. Learn more in the [Routing]({{baseUrl}}/guide/routing.html) section of the guide. ## Serving diff --git a/getting-started/install-swift-3-macos.md b/getting-started/install-swift-3-macos.md index 68d2204f..47009d71 100644 --- a/getting-started/install-swift-3-macos.md +++ b/getting-started/install-swift-3-macos.md @@ -24,4 +24,4 @@ Select Xcode 8 for your Command Line Tools. ## Swift -You can now move on to [Install Swift 3](/getting-started/install-swift-3.html) +You can now move on to [Install Swift 3]({{baseUrl}}/getting-started/install-swift-3.html) diff --git a/getting-started/install-swift-3-ubuntu.md b/getting-started/install-swift-3-ubuntu.md index 68579fa7..55923ec8 100644 --- a/getting-started/install-swift-3-ubuntu.md +++ b/getting-started/install-swift-3-ubuntu.md @@ -17,4 +17,4 @@ sudo apt-get install clang libicu-dev binutils git ## Swift -You can now move on to [Install Swift 3](/getting-started/install-swift-3.html) \ No newline at end of file +You can now move on to [Install Swift 3]({{baseUrl}}/getting-started/install-swift-3.html) \ No newline at end of file