From 5b6b1dddadba5f82b97699e092564a9bb2e6f052 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 24 Aug 2021 11:54:46 -0700 Subject: [PATCH] fix(docs): use latest instead of version in links --- docs/README.md | 10 +++++----- docs/requirements.md | 2 +- install.sh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/README.md b/docs/README.md index 6400d6a0..ee3ab1d7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -30,7 +30,7 @@ There are three ways to get started: automates most of the process. The script uses the system package manager if possible. 2. Manually [installing - code-server](https://coder.com/docs/code-server/v3.11.1/install) + code-server](https://coder.com/docs/code-server/latest/install) 3. Using our one-click buttons and guides to [deploy code-server to a cloud provider](https://github.com/cdr/deploy-code-server) ⚡ @@ -51,20 +51,20 @@ When done, the install script prints out instructions for running and starting code-server. We also have an in-depth [setup and -configuration](https://coder.com/docs/code-server/v3.11.1/guide) guide. +configuration](https://coder.com/docs/code-server/latest/guide) guide. ## TLS and authentication (beta) -To add TLS and authentication out of the box, use [code-server --link](https://coder.com/docs/code-server/v3.11.1/link). +To add TLS and authentication out of the box, use [code-server --link](https://coder.com/docs/code-server/latest/link). ## Questions? See answers to [frequently asked -questions](https://coder.com/docs/code-server/v3.11.1/FAQ). +questions](https://coder.com/docs/code-server/latest/FAQ). ## Want to help? -See [Contributing](https://coder.com/docs/code-server/v3.11.1/CONTRIBUTING) for +See [Contributing](https://coder.com/docs/code-server/latest/CONTRIBUTING) for details. ## Hiring diff --git a/docs/requirements.md b/docs/requirements.md index 8e785b6d..4ab2b5d0 100644 --- a/docs/requirements.md +++ b/docs/requirements.md @@ -9,7 +9,7 @@ At the minimum, we recommend: - 2 CPU cores You can use any Linux distribution, but [our -docs](https://coder.com/docs/code-server/v3.11.1/guide) assume that you're using +docs](https://coder.com/docs/code-server/latest/guide) assume that you're using Debian hosted by Google Cloud (see the following section for instructions on setting this up). diff --git a/install.sh b/install.sh index 6f47c5e4..61dff00d 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -eu # code-server's automatic install script. -# See https://coder.com/docs/code-server/v3.11.1/install +# See https://coder.com/docs/code-server/latest/install usage() { arg0="$0" @@ -66,7 +66,7 @@ fall back to npm so on architectures without pre-built releases this will error. The installer will cache all downloaded assets into ~/.cache/code-server -More installation docs are at https://coder.com/docs/code-server/v3.11.1/install +More installation docs are at https://coder.com/docs/code-server/latest/install EOF } @@ -433,7 +433,7 @@ install_npm() { fi echoerr "Please install npm or yarn to install code-server!" echoerr "You will need at least node v12 and a few C dependencies." - echoerr "See the docs https://coder.com/docs/code-server/v3.11.1/install#yarn-npm" + echoerr "See the docs https://coder.com/docs/code-server/latest/install#yarn-npm" exit 1 }