Skip to content

Add pages on switching to MkDocs NG and how it compares - #128

Merged
shenxianpeng merged 3 commits into
mainfrom
claude/project-thread-8gce4u
Nov 1, 2026
Merged

shenxianpeng merged 3 commits into
mainfrom
claude/project-thread-8gce4u

Conversation

@shenxianpeng

Copy link
Copy Markdown
Member

Two new pages for people who already have an MkDocs site and are deciding where to go.

Switching to MkDocs NG (docs/user-guide/migrating.md)

Listed in the User Guide right after Installation.

  • Four steps: install, check mkdocs --version, build with --strict, update dependency lists.
  • How to list mkdocs-ng in requirements.txt, pyproject.toml (project deps and dependency groups) and pipx.
  • Behavior that differs from upstream 1.6.1: Python 3.10+, --quiet --strict fails on warnings, deprecations no longer fail strict builds, stop words indexed, no CDNs / Universal Analytics, no ProperDocs warning.
  • Coming from ProperDocs, coming from the 2.0 pre-releases, and switching back.

Verified: the pre-release and switch-back commands (mkdocs<2 restores a working mkdocs command, pip uninstall mkdocs-ng + force-reinstall of mkdocs brings back upstream 1.6.1).

Comparison (docs/about/comparison.md)

In the About menu. A table and a short section each for MkDocs 1.6, the 2.0 pre-releases, ProperDocs, Zensical and MkDocs NG. Only facts that can be checked, dated 2026-11-01, with sources:

  • Versions, dates and Python requirements from PyPI.
  • 2.0.dev6: read from its source (no config file, plugins or themes; raises when mkdocs.yml exists).
  • ProperDocs 1.6.7: read from its source (aliases mkdocs and loads mkdocs.plugins entry points; reads properdocs.yml, falls back to mkdocs.yml).
  • Zensical: its own compatibility docs (doesn't run MkDocs plugins, reimplements about 30; reads mkdocs.yml).
  • Material for MkDocs maintenance through 2027-05-05: zensical.org upcoming changes page.

Other changes

  • Home page and README link to both pages.
  • Installation page: "upgrades from MkDocs NG 1.x" → "1.9 and earlier", plus a link to the new page.
  • Release notes entry under 1.10.0.

hatch run docs:build and pre-commit pass.


Generated by Claude Code

The migration page covers switching from upstream MkDocs, ProperDocs and
the MkDocs 2.0 pre-releases, updating dependency lists, behavior that
differs from MkDocs 1.6.1, and switching back. The comparison page lists
verifiable facts, as of 2026-11-01 and with sources, about MkDocs 1.6,
the 2.0 pre-releases, ProperDocs and Zensical.
@shenxianpeng shenxianpeng self-assigned this Nov 1, 2026
@shenxianpeng
shenxianpeng merged commit 4ba75a9 into main Nov 1, 2026
22 checks passed
@shenxianpeng
shenxianpeng deleted the claude/project-thread-8gce4u branch November 1, 2026 09:42
@codspeed

codspeed Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 28 untouched benchmarks


Comparing claude/project-thread-8gce4u (a9230a6) with main (b728a71)

Open in CodSpeed

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