This is the repository for Anovos' documentation.
The docs are built using mkdocs using the
mkdocs-material theme
and deployed to docs.anovos.ai.
To get started, first clone the repository:
git clone https://github.com/anovos/anovos-docs.gitThen, enter the newly created anovos-docs folder and install mkdocs and the other dependencies by running:
pip install -r requirements.txtTo build and serve the docs locally, run:
mkdocs serveIf you're a regular contributor, we recommend to install the development requirements and use the pre-commit hooks:
pip install -r dev_requirements.txt
pre-commit installSimply edit the Markdown files or add new ones.
If you added a new file and would like it to show up in the navigation bar,
don't forget to add it to the nav section in mkdocs.yml.
Once you're done, commit your changes, push them to a new branch and open a Pull Request so that they can be reviewed.
All images for the site are stored in the docs/assets.
Upload your images in this folder, then put those images in the correct pages using Markdown:
Once your changes have been committed and pushed to the repo, create a detailed Pull Request (PR) for review. A maintainer from the repo will review the changes and merge your PR.
The Anovos Docs repo has a GitHub Action that automatically deploys the updates to the website.
The API documentation is automatically generated. There is a GitHub Action workflow that can be triggered to run manually. It fetches the current version of the library, generates the API docs and opens a PR that can be reviewed and merged just as any other contribution to the docs.