GitHub
DocsBeta

Build polished documentation sites from Markdown with a pure-Python CLI.

Static Docs builds documentation sites from Markdown using a Python-only workflow. You write pages in content/, configure navigation with navigation.yml, and build static HTML into dist/.

What you get

  1. 1

    Markdown authoring

    Write normal Markdown plus Static Docs directives for docs components.

  2. 2

    Built-in docs theme

    Get a sidebar, top navigation, right-side table of contents, search, dark mode, and polished code blocks.

  3. 3

    Production outputs

    Generate HTML, search index, SEO files, and LLM-friendly docs files.

Build this documentation

bash
static-docs build --config docs/site.toml

The output is written to:

docs
dist
index.html
sitemap.xml
robots.txt
llms.txt
assets
search-index.json