Project Structure & Module Organization¶
This repository is a MkDocs site with a small Cloudflare Worker for canonical redirects.
- Content:
content/— pages, includingcontent/articles/and scaffolds incontent/articles/.templates/. - Snippets:
content/snippets/— reusable markdown fragments (e.g.social-links.md) included viapymdownx.snippets. - Automation:
scripts/—new_article.py,postprocess_sitemap.py,shared_config.py(readssite_urlfrommkdocs.yml). - Theme:
overrides/— custom MkDocs templates (main.htmlreads fromconfig.extra.*for theme/copyright). - Build output:
site/is generated; do not treat it as source (often gitignored locally). - Config:
mkdocs.yml(canonical —extra:section holds identity, contact, theme, copyright, social),mkdocs.local.yml(local dev),wrangler.toml(worker config +[vars]for env),worker.js. - Project meta:
project/— changelog, troubleshooting, plans, KIV, research, build (seeproject/plans/README.md). - Agent docs:
content/agents/— long-form guidelines for assistants (not aimed at site visitors;robots: noindex).
Python baseline: pyproject.toml (Python 3.10+). Use 4 spaces in Python; consistent YAML indentation in MkDocs configs.