fix(docs): use latest instead of version in links

This commit is contained in:
Joe Previte 2021-08-24 11:54:46 -07:00
parent 1d8806fc42
commit 5b6b1dddad
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24
3 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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).

View File

@ -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
}