Files
kata-containers/docs/doc-contributing.md
LandonTClipp 56cdfa831f docs: Add annotation config to doc site
Adding the pod annotation config to the doc site. A symlink is created
at docs/pod-annotations.md that points to
how-to/how-to-set-sandbox-config-kata.md so that the URL for this file will be
created at `/pod-annotations`. Also adding brief contrbuting guidelines and
how-to's for running the documentation site locally for local previews.

Signed-off-by: LandonTClipp <11232769+LandonTClipp@users.noreply.github.com>
2026-04-15 14:48:01 +01:00

1.0 KiB

Documentation Contributions

The documentation system is built using a static site generator called mkdocs-materialx, a fork of mkdocs-material.

Local Serving

All documentation files are in the docs/ subfolder. When modifying docs, you can run make docs-serve at the top-level of the project to build and serve them locally:

$ make docs-serve
INFO    -  [17:37:42] Serving on http://0.0.0.0:8000/kata-containers/

Adding New Files

Markdown files should be organized in a flat topology as much as possible. The location of the markdown files will map directly its URL, so they should not be moved once they are created. The navigation structure of the static site is controlled via the docs/.nav.yml file.

Configuration

The configuration of the build system is controlled through the mkdocs.yaml file. The reference for various parameters can be found at the mkdocs-materialx website.