Skip to content

docs: add documentation about the offline docs #8603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

BrunoQuaresma
Copy link
Collaborator

No description provided.

@BrunoQuaresma BrunoQuaresma requested a review from bpmct July 19, 2023 17:38
@BrunoQuaresma BrunoQuaresma self-assigned this Jul 19, 2023
Copy link
Member

@bpmct bpmct left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also be sure to include the CODER_DOCS_URL docs here. Maybe let's hold off on merging until that is in? Otherwise, LGTM!

@BrunoQuaresma
Copy link
Collaborator Author

@bpmct it is merged already. I also updated the docs to include the env variable.

@BrunoQuaresma BrunoQuaresma requested a review from bpmct July 19, 2023 18:28
@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) July 19, 2023 18:43
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will make a hotfix for this

@BrunoQuaresma BrunoQuaresma merged commit 16cd1a6 into main Jul 19, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/offline-docs-docs branch July 19, 2023 18:51
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants