Skip to content

Comments

feat(docs): migrate documentation site from Material for MkDocs to Zensical#41357

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/migrate-mkdocs-to-zensical
Draft

feat(docs): migrate documentation site from Material for MkDocs to Zensical#41357
Copilot wants to merge 3 commits intomainfrom
copilot/migrate-mkdocs-to-zensical

Conversation

Copy link
Contributor

Copilot AI commented Feb 20, 2026

Material for MkDocs 9.7.0 is the final release and the project has entered maintenance mode. Zensical is the official successor from the same developers, with maximum compatibility and an active development path.

Changes

Dependencies

  • pyproject.toml: Replace mkdocs-material==9.7.2 + mkdocs-awesome-pages-plugin==2.10.1 with zensical==0.0.23
  • pdm.lock: Regenerated for new dependency tree

Configuration

  • tools/mkdocs/zensical.toml (new): TOML-format config preserving site metadata, repo info, custom theme dir, features, and palette; uses lucide icons for palette toggles
  • tools/mkdocs/mkdocs.yml (deleted): Replaced by zensical.toml
  • tools/mkdocs/mkdocs-hooks/custom-edit-url.py: Retained — allows per-page override of edit_url via YAML frontmatter

Build tooling

  • tools/mkdocs.ts: Call zensical build/zensical serve instead of mkdocs build/mkdocs serve
  • tools/generate-docs.ts: Update log messages
  • .github/workflows/build.yml: Rename "Build mkdocs" steps to "Build docs site"

Templates & docs

  • tools/mkdocs/overrides/: Update comments and copyright link to reference Zensical
  • docs/usage/about-us.md: Keep MkDocs project attributions (past tense) and add new Zensical attributions alongside them
  • docs/development/local-development.md: Update docs tooling section

Notes

  • Navigation: awesome-pages is unsupported in Zensical; navigation auto-generates from directory structure
  • Version in footer: TOML has no !ENV support, so the "These docs correspond to Mend Renovate X.Y.Z" note won't render (guarded by {% if config.extra.version %} so it degrades gracefully)
  • The tools/mkdocs/ directory name is preserved to avoid touching all downstream build tooling references

Context

  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).

Used GitHub Copilot coding agent to perform the migration: config conversion, dependency updates, template and documentation updates.

Documentation (please check one with an [x])

  • I have updated the documentation, or

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or

Validated zensical build succeeds against a minimal docs directory with the new zensical.toml config.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@cla-assistant
Copy link

cla-assistant bot commented Feb 20, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@cla-assistant
Copy link

cla-assistant bot commented Feb 20, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Co-authored-by: jamietanna <3315059+jamietanna@users.noreply.github.com>
Copilot AI changed the title [WIP] Migrate Material for Mkdocs documentation to Zensical feat(docs): migrate documentation site from Material for MkDocs to Zensical Feb 20, 2026
Copilot AI requested a review from jamietanna February 20, 2026 15:42
Copy link
Contributor

Choose a reason for hiding this comment

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

We want to keep this, idaelly

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Restored in 711000c. The file is back in tools/mkdocs/mkdocs-hooks/custom-edit-url.py.

- [@Gabriel-Ladzaretti](https://github.com/Gabriel-Ladzaretti) S3 repo cache, child process refactoring, others
- [@not7cd](https://github.com/not7cd) improved the `pip-compile` manager
- [@squidfunk](https://github.com/squidfunk) for creating and maintaining the [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/) framework, that we use to build our docs, and for helping us with problems with the framework, or our docs
- [The MkDocs project](https://www.mkdocs.org/) for making the static site generator, that we use to build our docs
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO, let's keep this note (that we thank MkDocs for the past work), as well as adding the new changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in 711000c — kept the MkDocs attributions and added Zensical alongside them:

  • @squidfunk line now credits both Material for MkDocs and Zensical
  • Kept the MkDocs project line (updated to past tense "that we used to build our docs")
  • Added a new Zensical project line for the current tool

@jamietanna jamietanna changed the title feat(docs): migrate documentation site from Material for MkDocs to Zensical docs: migrate documentation site from Material for MkDocs to Zensical Feb 20, 2026
@jamietanna
Copy link
Contributor

jamietanna commented Feb 20, 2026

A couple of other things not working:

  • Sidebar/sorting is off
  • some stuff doesn't work:
Screenshot 2026-02-20 at 16 18 10

Admonitions don't seem to be working:

Screenshot 2026-02-20 at 16 19 16

Code snippets don't look right ☝️ (no title?)

…ttribution

Co-authored-by: jamietanna <3315059+jamietanna@users.noreply.github.com>
Copilot AI changed the title docs: migrate documentation site from Material for MkDocs to Zensical feat(docs): migrate documentation site from Material for MkDocs to Zensical Feb 20, 2026
Copilot AI requested a review from jamietanna February 20, 2026 16:19
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