docs: set up versioned documentation with mike#63
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
matthiaslao
approved these changes
Jul 21, 2026
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.
Summary
0.2.0instead of the published0.1.3— mike deploys from the tag commit whereVERSION_NAMEhas no-SNAPSHOTsuffixrelease.pynow auto-updatesdocs/index.mdfrom the changelog on every releaseChanges
zensical.toml: enables the version switcher dropdown (provider = "mike",alias = true)scripts/build_docs.sh: reads version fromDEVVIEW_VERSIONenv var first (falling back togradle.properties), and adds--prep-onlyflag so CI can pre-process docs without running zensical (mike handles the build).github/workflows/publish-docs.yml: restructured for mike — resolves version fromVERSION_NAME(SNAPSHOT →dev, release tag → version +latestalias), runs mike deploy, cleans up old versions; addsworkflow_dispatchinputs for manual deploysscripts/release.py: new step 3b auto-updatesdocs/index.mdWhat's New from the release changelog sectiondocs/index.md: What's New updated from v0.1.2 to v0.1.3 (one-time fix)After merging
gh-pages// (root)in repo settingsworkflow_dispatchwithversion: 0.1.3,aliases: latestto seed the first versioned deployment for the published releasemainwill auto-deploy asdev; future release tag pushes will auto-deploy as the release version withlatestalias🤖 Generated with Claude Code