Skip to content

docs: rewrite site on Zensical with runnable examples#70

Merged
0x054 merged 2 commits into
mainfrom
docs/rewrite
Jun 18, 2026
Merged

docs: rewrite site on Zensical with runnable examples#70
0x054 merged 2 commits into
mainfrom
docs/rewrite

Conversation

@0x054

@0x054 0x054 commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

The docs site now ships on Zensical instead of MkDocs, with a clearer information architecture and examples that actually run in CI. Readers get side-by-side Assignment and Annotated model declarations, and query examples consistently use lambda predicates — the style we want to standardize on before operator syntax is deprecated.

Key structural changes:

Area Before After
Build tool MkDocs (mkdocs.yml) Zensical (zensical.toml)
Source layout Flat docs/ tree docs/pages/ content + docs/examples/ scripts
Model examples Inline-only snippets Runnable scripts with _annotated companions, exercised by tests/test_docs_examples.py
Query guidance Mixed operator/lambda examples Lambda-first everywhere; operator style documented as legacy

AGENTS.md adds invariants I-8 (dual declaration tabs) and I-9 (lambda predicates) so future doc edits stay consistent. Docstrings in Model.where and Query.where match the new guidance.

Test plan

  • uv run pytest tests/test_docs_examples.py — 125 passed
  • uv run zensical build — site builds locally
  • Spot-check GitHub Pages deploy after merge (publish-docs workflow)

0x054 and others added 2 commits June 18, 2026 17:43
Replace the MkDocs site with Zensical, reorganize content under docs/pages/,
and back every model example with executable scripts in docs/examples/. Codify
dual declaration-style tabs and lambda-first query examples in AGENTS.md, CI,
and docstrings so docs and library guidance stay aligned.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@0x054 0x054 merged commit da86911 into main Jun 18, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant