Visitar URL original
docs: switch from mkdocs to properdocs by henryiii · Pull Request #2946 · pypa/cibuildwheel · GitHub
Skip to content

docs: switch from mkdocs to properdocs - #2946

Merged
henryiii merged 1 commit into
pypa:mainfrom
henryiii:properdocs
Jul 24, 2026
Merged

henryiii merged 1 commit into
pypa:mainfrom
henryiii:properdocs

Conversation

@henryiii

@henryiii henryiii commented Jul 24, 2026 •

Copy link
Copy Markdown
Contributor

I evaluated zensical and Great Docs too; zensical is still missing stuff we need and forces the material theme, and Great Docs uses a quarto binary (heavy) and is really focused on API rather than narrative.

MkDocs is no longer developed publicly (or at all?) (along with httpx, same author), and hasn't had a new release in two years. If there is another release, it won't support plugins. See the slow collapse of mkdocs for context.

🤖 AI text below 🤖

Switches the docs build from MkDocs to properdocs, the drop-in MkDocs fork maintained by the original MkDocs authors.

Changes:

  • mkdocs.yml → properdocs.yml (content unchanged; properdocs errors on an implicit mkdocs.yml fallback)
  • pyproject.toml: mkdocs==1.6.1 → properdocs==1.6.7, plus properdocs-theme-readthedocs (themes are unbundled from the core package)
  • Command name updated in noxfile.py and .readthedocs.yml; CI path filters updated

The existing plugins (mkdocs-include-markdown-plugin, mkdocs-macros-plugin, mkdocs-intersphinx) and pymdown extensions work unchanged — properdocs reads the mkdocs.plugins/mkdocs.themes entry points. properdocs build --strict passes locally, including the macros-generated options page and the intersphinx inventory.

Draft: evaluating whether we want to make this switch; also worth checking the Read the Docs build preview before merging.

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
@joerick

joerick commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Nice! This seems like a step forward, and away from the unmaintained mkdocs.

(I would like to modernise the docs at some point, and make it easier to include the more custom elements (e.g. the envvar/toml tabs, the options page headers, the 'how it works' diagram) in a less hacky way. I do have half an eye on Starlight with this in mind. But that's a topic for another day.)

@joerick joerick left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's draft but I've had a good browse through the RtD build and it looks identical to me!

@henryiii

Copy link
Copy Markdown
Contributor Author

The only thing I saw when looking through was the missing identifier (which has nothing to do with this change), so I can take it out of draft. GH is having some issues at the moment, I think.

@henryiii
henryiii marked this pull request as ready for review July 24, 2026 16:21
@henryiii
henryiii merged commit 1af5cd7 into pypa:main Jul 24, 2026
46 checks passed
@henryiii
henryiii deleted the properdocs branch July 24, 2026 18:55
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.

2 participants