Updating Project Documentation
This guide explains how to update the documentation for an existing project (e.g., Magellan, Webbloqs, Proxies).
Conventions
The documentation of all projects is located in the top-level docs folder of each project repository.
Project Setup
Let's assume you want to update the documentation for the qs-magellan project.
- Checkout the Git repository
https://bitbucket.org/quatico/qs-magellan - Create a new branch with a descriptive name, e.g.
docs/branch-name - Make the required changes to the documentation in the
docsfolder.
Live Updates
-
If you want to test the documentation changes live, you can adjust the paths to the project's docs folder with environment variables. Copy the example file:
cp .env.example .envand adjust the paths to your local repo clones. For example, adjust the value ofMAGELLAN_DOCS_PATHto the local path of theqs-magellanproject on your machine:MAGELLAN_DOCS_PATH=/Users/your-username/your-project-path/qs-magellan/docs/magellanYou can comment out repos you're not working on - they'll use placeholder docs.
-
Start the development server by running
pnpm startin theqs-tooling-documentationproject. -
Open the documentation site in your browser: http://localhost:3000/
Bringing the Changes Live
Once you are happy with the changes, you can bring them live by following these steps:
- Create a PR
- Ensure the
validate-documentation-changespipeline succeeds. For example, have a look at the validate-documentation-changes pipeline. - Once the PR is merged, the documentation changes will automatically be deployed to the Quatico TEST environment.
- To bring the changes to Prod on
docs.quatico.dev, you need to run the thereleasepipeline.- this could be automated by the triggering it from the
releasepipeline of the project you are updating, but currently it is a manual step.
- this could be automated by the triggering it from the