Commit 6e9b010
committed
docs: migrate from Sphinx to MkDocs + Material for MkDocs
Replace the Sphinx toolchain (sphinx, sphinx-autoapi, sphinx-rtd-theme,
myst-parser) with MkDocs + Material + mkdocstrings. Read the Docs keeps
hosting the site.
- pyproject: swap the `docs` dependency group; ignore two pymdown-extensions
advisories only fixed for Python >=3.10 (docs-only dep, same rationale as
the existing uv.audit ignores)
- mkdocs.yaml: new config -- Material theme, mkdocstrings python handler,
nav, site_dir: var/html-docs, toc_depth "2-6"
- docs/: drop conf.py, index.rst and the committed sphinx-autoapi
docs/modules/ tree; add index.md, configuration.md and hand-written
reference/*.md mkdocstrings stubs for the five modules
- docs/readme.md: absolute raw-GitHub image URL and an RTD link so the PyPI
long description renders (relative paths only resolve on GitHub)
- src: rewrite the reStructuredText-flavoured module/function docstrings in
__init__.py and status.py as Markdown so mkdocstrings renders them
- .readthedocs.yaml: `mkdocs:` key instead of `sphinx:`, drop pdf output
(Sphinx-only on RTD), keep htmlzip
- justfile: .just/sphinx.justfile -> .just/mkdocs.justfile
Dropped mkdocs-gen-files / mkdocs-literate-nav / mkdocs-section-index: they
now depend on `properdocs`, a MkDocs fork that pulls a second site generator
into the tree and injects promotional build output. Five modules do not need
generated nav.1 parent 2c5f646 commit 6e9b010
25 files changed
Lines changed: 713 additions & 1057 deletions
File tree
- .just
- docs
- modules/autoread_dotenv
- about
- utils
- warnings
- reference
- src/autoread_dotenv
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
| 25 | + | |
28 | 26 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
7 | 18 | | |
8 | 19 | | |
9 | 20 | | |
| |||
This file was deleted.
0 commit comments