Documentation
There is a separate devshell called docs
which is provided for working with the docs locally.
It can be entered by running nix develop .#docs
or cd
'ing into the docs
directory and allowing direnv to load
it automatically.
devshells/docs.nix | |
---|---|
The docs are based on MkDocs and the MkDocs Material theme.
You will find its configuration and content in the docs
directory.
Serve locally
To serve the docs locally run mkdocs serve
from within the docs
directory:
Versioning & Publication
Versioning of the docs is managed through mike.
It is responsible for managing the structure of the gh-pages
branch in the repository.
Note
More information about versioning with MkDocs Material and mike can be found here.
Warning
Be sure to have fetched the latest changes for the gh-pages
branch first.
This is especially important if you are using mike
locally to make manual changes to the published site.