Skip to content

chore(docs): replace mkdocs with zensical - #21

Merged
dlstadther merged 1 commit into
mainfrom
dlstadther/mkdocs-replacement
Sep 11, 2026
Merged

chore(docs): replace mkdocs with zensical#21
dlstadther merged 1 commit into
mainfrom
dlstadther/mkdocs-replacement

Conversation

@dlstadther

Copy link
Copy Markdown
Owner

Summary

  • Drops mkdocs/mkdocs-material/mkdocstrings in favor of zensical, a modern static site generator built by the Material for MkDocs team
  • mkdocs.yml kept as-is — zensical reads it natively via its MkDocs compatibility layer (material theme, search, mkdocstrings plugin all work unmodified, verified locally)
  • No native gh-deploy in zensical, so make doc-deploy now runs ghp-import directly against the built site/ dir (same mechanism mkdocs used internally)

Test plan

  • uv lock resolves clean (zensical is python>=3.10-only, marker-gated so it's skipped in the py3.9 nox test env)
  • uv run zensical build succeeds, mkdocstrings autodoc renders (::: sample in docs/index.md produces real API doc HTML)
  • uv run zensical serve starts and serves the built site (200 response)
  • ruff format --check / ruff check clean
  • docs.yml workflow (deploy to gh-pages) only triggers on push to master/merge — can't be exercised from this PR, only verified locally

Drop mkdocs/mkdocs-material/mkdocstrings in favor of zensical, a
modern static site generator built by the Material for MkDocs team.
mkdocs.yml is kept as-is since zensical reads it natively via its
MkDocs compatibility layer (theme, search, and mkdocstrings plugin
all supported unmodified).

zensical has no bundled gh-deploy equivalent, so deploy now runs
ghp-import directly against the built site/ dir (mirroring what
mkdocs gh-deploy did internally).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QaJZCwGxe4YnHaf3Soxdqn
@dlstadther
dlstadther merged commit 909dd6b into main Sep 11, 2026
5 checks passed
@dlstadther
dlstadther deleted the dlstadther/mkdocs-replacement branch September 11, 2026 01:52
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