docs: switch from mkdocs to properdocs (#2946)

properdocs is a drop-in MkDocs fork by the original MkDocs maintainers.
The existing plugins (include-markdown, macros, intersphinx) and pymdown
extensions work unchanged; themes are unbundled, so the readthedocs
theme comes from properdocs-theme-readthedocs.

Assisted-by: ClaudeCode:claude-fable-5
This commit is contained in:
Henry Schreiner
2026-07-24 14:55:37 -04:00
committed by GitHub
parent b21d76ae03
commit 1af5cd76db
7 changed files with 10 additions and 7 deletions
+3 -1
View File
@@ -228,7 +228,9 @@ def docs(session: nox.Session) -> None:
"""
pyproject = nox.project.load_toml()
session.install("-e.", *nox.project.dependency_groups(pyproject, "docs"))
session.run("mkdocs", "serve" if session.interactive else "build", "--strict", *session.posargs)
session.run(
"properdocs", "serve" if session.interactive else "build", "--strict", *session.posargs
)
@nox.session(default=False)