docs: add link to CODER_DOCS_URL (#8606)

This commit is contained in:
Bruno Quaresma 2023-07-19 16:47:38 -03:00 committed by GitHub
parent 16cd1a675c
commit d96a6575af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -194,6 +194,6 @@ Coder also provides offline documentation in case you want to host it on your ow
2. Download the documentation files from the "Assets" section. It is named as `coder_docs_<version>.tgz`.
3. Extract the file and move its contents to your server folder.
4. If you are using NodeJS, you can execute the following command: `cd docs && npx http-server .`
5. Set the `CODER_DOCS_URL` environment variable to use the URL of your hosted docs. This way, the Coder UI will reference the documentation from your specified URL.
5. Set the [CODER_DOCS_URL](../cli/server#--docs-url) environment variable to use the URL of your hosted docs. This way, the Coder UI will reference the documentation from your specified URL.
With these steps, you'll have the Coder documentation hosted on your server and accessible for your team to use.