Documentation
The documentation is generated with mkdocs. It generates a static website in plain HTML
from the Markdown files present in the docs/ directory.
We also use the Cobra built-in documentation generator for dib commands.
Local Setup
Let's set up a local Python environment and run the documentation server with live-reload.
-
Create a virtual env:
python -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt -
Generate docs of dib commands:
make docs -
Run the
mkdocsserver:mkdocs serve -
Go to http://localhost:8000