Mkdocs: https://www.mkdocs.org/user-guide/writing-your-docs/
Material for Mkdocs: https://squidfunk.github.io/mkdocs-material/
Run these from inside the _afc dir:
Install uv
https://github.com/astral-sh/uv
Create venv
uv venv
source .venv/bin/activateSync lockfile
uv syncTo init the git submodules, run the following:
git submodule init
git pull --recurse-submodules
git submodule update --recursive --remoteThis needs to be done before building the documentation to ensure that the latest AFC-Klipper-Add-On stuff is
present.
Alternatively, you can use mise to set up the environment. A mise.toml file is provided with the repo for this purpose.
mkdocs servemkdocs buildThis repo also utilizes the AFC-Klipper-Add-On as a submodule. Ensure that it is properly initialized and updated.