Repository navigation
docs: Migrate documentation from Sphinx to Zensical - #66
Merged
Merged
Conversation
mkdocstrings renders docstrings as Markdown, so the reStructuredText roles, code-block directives and links left in them become autorefs links, fenced code and Markdown links. Also fix the docstrings griffe flags: parameters documented under names that are not in the signature, an unindented continuation line, and empty Args/Returns sections.
Replace Sphinx and the pydata theme with Zensical: - pages move from docs/source/overview/*.rst to docs/overview/*.md; tabs, cards and dropdowns map to Zensical's Markdown extensions, and example code is included through snippets - the API reference is generated per module by api-autonav and mkdocstrings instead of autosummary - the landing page becomes the home.html template override, and custom.css maps the ember palette onto the Zensical theme - a 404 override sends Sphinx-era .html URLs to their new clean URLs - Read the Docs, make docs and the contributing guide build with `zensical build --strict`
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #66 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 385 385
Lines 8814 8814
Branches 1013 1013
=========================================
Hits 8814 8814 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the Sphinx documentation build with Zensical, convert guides and Python docstrings to Markdown, and generate the API reference automatically with api-autonav and mkdocstrings. The Python changes affect documentation only; runtime logic is unchanged.
Validation:
The new documentation uses directory-style URLs. Legacy redirects depend on the host serving the custom 404 page. GitHub repository statistics use the theme defaults and may be unavailable when GitHub rate limits requests.