Migrate documentation to Zensical#67
Open
jonathan343 wants to merge 2 commits into
Open
Conversation
SamRemis
previously approved these changes
Jun 26, 2026
SamRemis
approved these changes
Jun 26, 2026
arandito
reviewed
Jun 26, 2026
Contributor
There was a problem hiding this comment.
Our release infrastructure uses this file to add the correct dependencies to the nested clients' pyproject.toml. If we release this now before updating our infrastructure to also use zensical, this would remove the necessary dependencies for the docs to be built in the clients.
I'm not sure how many people actually build individual client docs, but maybe we wait to merge this change until we update our release infrastructure?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR migrates the existing top-level documentation generation from Material for MkDocs to Zensical.
The developer team at Material for MkDocs announced it was entering into maintenance mode in November 2025 and are now primarily focused on Zensical (see blog post).
Since Zensical already supports the primary features we need, it seems like the best path forward here is for us to migrate.
Note
This PR only migrates the top-level documentation generation. The client-level documentation will need to be fixed upstream at our infrastructure layer.
Preview
Testing
To test these changes locally, checkout these changes and run the following commands:
$ make docs-install $ make docs $ make docs-serve # Open http://127.0.0.1:8000/ in a browserImportant Notes
<script>is bad security practice. There may be other ways, but I don't think it's a big deal to solve right now.zensical.toml. I'm not the biggest fan of this but didn't find a better solution. It scales linearly so if we have 400 services, thezensical.tomlwill have 400 lines for navigation.docs/javascript/nav-expand.jsneeded to be updated for Zensical. Basically, the left navigation loses track of where it is when going into a nested operation's page, so this script will activate the relevant parent link.requirements-docs.txtwhich is a lock-file for the dependencies defined inrequirements-docs.in. This protects us from transitive dependencies quietly upgrading and breaking out site.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.