Skip to content

Publishing documentation

Automax documentation is built with MkDocs and published to GitHub Pages from the docs/ tree and mkdocs.yml.

Local preview

Install documentation dependencies:

python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -e '.[docs]'

Or install only the documentation toolchain:

python -m pip install -r requirements-docs.txt

Serve locally:

NO_MKDOCS_2_WARNING=1 mkdocs serve

Strict build:

NO_MKDOCS_2_WARNING=1 mkdocs build --strict

The strict build is the same validation used by CI and the GitHub Pages workflow. NO_MKDOCS_2_WARNING=1 suppresses the informational Material for MkDocs MkDocs 2.0 warning so local and CI logs stay focused on actionable failures.

GitHub Pages workflow

The .github/workflows/docs.yml workflow builds the documentation on pushes to master or main when documentation, MkDocs configuration or Python API sources change.

Required repository settings:

Settings -> Pages -> Source: GitHub Actions

The published site URL is configured in mkdocs.yml as:

https://marcofortina.github.io/automax/

What belongs in docs

Keep operational documentation under docs/:

docs/guides/      task-oriented guides
docs/reference/   stable DSL/API/reference material
docs/plugins/     builtin plugin manuals and examples

Every new builtin plugin should update docs/plugins/ and should be covered by examples that can be validated by automax validate or exercised by tests.