Documentation of Boaviztapi
Content:
- ADR - Architecture decision records
- assets: static content like images
- Explanations: Functional documentation - Equations & key concepts are explained
- DEMO - an executable openAPI spec (former swagger)
- Getting started: some basic API queries explained.
- How to guides - for developers who want to use the API
Documentation is generated from markdown using mkdocs with the material theme.
# Install with make
make install_doc
# (preferred) Install mkdocs and its extensions
poetry install --with docs
# (old way) install mkdocs and its extensions
pip install mkdocs mkdocs-render-swagger-plugin mkdocs-material mkdocs-macros-plugin馃挕 Do not mixup pip and brew installation of mkdocs.
See the "getting started" docs for mkdocs, and material if you run into issues.
# If mkdocs is installed via poetry (preferred)
make run-doc# If mkdocs is installed globally
# from the root of the cloned repository
cd docs
mkdocs servecd docs
# Check the warnings in the output for broken links
poetry run mkdocs build
# Test validity of external links
poetry run poetry run linkcheckMarkdown --recurse --verbose docsThe documentation is served as github pages attached to this repositoy and deployed using a github action (See .github\workflows\github_page_deploy.yml).
The doc is exposed to https://boavizta.github.io/boaviztapi/ .