Template Docgen

Derived documentation generators for the template research framework. Scripts that write to docs/_generated/ and update in-place doc blocks.

docxology Updated

File contents

template-docgen

Documentation generation scripts under scripts/docgen/.

When to use

Load this skill when you need to regenerate derived documentation:

  • Stage table in docs/_generated/
  • API reference from __all__
  • Active projects doc
  • Architecture overview
  • Counts and measured facts

Scripts

uv run python scripts/docgen/stage_table.py
uv run python scripts/docgen/api_reference.py --write
uv run python scripts/docgen/active_projects.py --write
uv run python scripts/docgen/architecture_overview.py --write
uv run python scripts/docgen/counts.py --write

Pitfalls

  • Run after any change to infrastructure/core/pipeline/pipeline.yaml.
  • api_reference.py --check is run in CI — do not break exports.
  • Generated files in docs/_generated/ must not be hand-edited.

docxology/template commit 940efba72d

Frequently asked questions

npx get-skill add docxology/template-docgen