Skip to content

Development

Local Validation

Run quick checks:

python3 -m py_compile askllm scripts/devdocs_scraper.py
./askllm --help
./scripts/setup.sh --help

Documentation Build

mkdocs build -f docs-site/mkdocs.yml --strict

Serve locally:

mkdocs serve -f docs-site/mkdocs.yml

GitHub Pages Deployment

Deployment is automated via .github/workflows/docs-site-pages.yml.

On push to main (or manual dispatch), the workflow:

  1. installs MkDocs and Material theme dependencies
  2. builds docs-site
  3. uploads artifact
  4. deploys to GitHub Pages

Repository Practices

  • Keep scripts shell-agnostic where possible.
  • Prefer explicit flags over implicit behavior.
  • Keep command execution guarded and confirmable.