Skip to main content
  • Done:
    • docs-site/, a Mintlify site with four tabs:
      • Guide: a ten-chapter tour of the codebase in reading order. It follows the old annotated reading order’s chapters, plus the model, the dashboards and publishing.
      • Code: one page per file, 73 in all.
      • Data and decisions: contracts, decisions and diagrams.
      • Project log: status and handoffs.
    • Each chapter has the big idea in plain words, the terms, its diagram, its files in order, questions with answers, and ideas to improve it.
    • Each code page is generated from the file: its docstring, functions, classes, settings and tests with line numbers, what it uses and what uses it, and the full source.
    • scripts/build_docs.py builds it in under a second. tests/test_docs_site.py (5 tests) fails if the site is stale or a tracked file has no chapter, so the commit hook refuses commits that leave the docs behind.
    • Rules: AGENTS.md rule 12 and CLAUDE.md tell every assistant to rebuild, place new files in docs-site/reading_order.json, and update chapter text when a stage changes.
    • Checked with Mintlify’s CLI: mint validate (strict build) and mint broken-links pass, and mint dev renders the chapters, Mermaid diagrams and code pages.
    • Deploy path: Mintlify’s free plan cannot read github.sfu.ca, so scripts/sync_docs_site.sh pushes docs-site/ to a small github.com repository that Mintlify watches. scripts/install_git_hooks.sh (optional, per person, not yet installed) rebuilds before each commit and pushes after it.
    • Diagram 07 no longer carries a test count that goes stale. graphify ignores docs-site/.
  • Decisions: 0011 (Proposed).
  • Contracts: none changed.
  • Next:
    1. Agree whether the site is public, or private to the four of us (it shows the full source).
    2. One person sets it up once:
      • create the github.com repository;
      • sign in to Mintlify with GitHub and connect it;
      • git config calendar-effects.docsRemote <address>, then scripts/sync_docs_site.sh;
      • optionally scripts/install_git_hooks.sh.
    3. Connect the site’s MCP server to Claude or Cursor (the “Ask questions” page) and use it to rehearse the cross-review questions.
  • Blocked on / needs from others:
    • Everyone: with every change, run python3 scripts/build_docs.py and commit docs-site/. For a new file, add it to reading_order.json first. The test will remind you.
    • Everyone: read the chapter for your own part and fix anything that is wrong or unclear. The text outside the GENERATED markers is yours to edit.
  • Update 2026-11-25 · live:
    • Live at https://calendar-effects.mintlify.app. It is public, and Mintlify deploys it from the private github.com repository MuhammadMahad/calendar-effects-docs.
    • Mahad’s Mac has the git hooks (scripts/install_git_hooks.sh): each commit rebuilds the docs, and the live site syncs after it. Tested on a real commit.
    • The docs MCP server (https://calendar-effects.mintlify.app/mcp) is added to Claude Code for this repository, and a test question returned the right pages.
    • Moved the old annotated reading order out of the repository, to ../annotated-reading-order-515b5b9/.