Skip to content

Python knowledge index generator

Use the Python utility when you add or edit Markdown entries under src/content/docs/knowledge/.

The MVP utility uses the Python standard library for the sample schema. Run it with Python 3.11 or newer.

Terminal window
python3 scripts/teamwiki.py validate
python3 scripts/teamwiki.py generate

Do not edit generated files by hand unless you are debugging. Regenerate src/data/browse.json, public/ai/index.json, public/ai/chunks.jsonl, and public/llms.txt from source Markdown.

CI should run the Python generation step before the Astro build so generated browse pages and AI artifacts stay fresh.