docs(py): add versioning to py-rattler documentation#2194
docs(py): add versioning to py-rattler documentation#2194baszalmstra merged 7 commits intoconda:mainfrom
Conversation
|
@baszalmstra Could I get a review on this one whenever you get a chance? Thanks. |
- Restore root redirect to rattler/index.html (rustdoc) instead of py-rattler/latest/ - Restore rattler/index.html redirect to rattler crate docs - Move mike plugin after social and before llmstxt (matching pixi/rattler-build ordering) - Add commented-out mike options as documentation (matching pixi/rattler-build) - Add "llmstxt must come after mike" comment (matching pixi) - Set top-level permissions to contents: read, override to write only on deploy jobs - Remove unnecessary Rust toolchain setup from build-docs PR testing job - Use consistent --manifest-path invocation instead of working-directory https://claude.ai/code/session_01ShuA3cWtSWLrQDvWKnMRxc
|
I let claude review and fix your PR. Please review if these changes make sense to you. |
|
@baszalmstra applied all of Claude’s suggestions. Screen.Recording.2026-03-11.at.6.39.56.PM.mov |
|
Even though this PR is merged it doesnt seem to work properly yet. Can you check why? |
|
@baszalmstra The skips are expected, docs-dev ran and deployed. |
|
Hey @baszalmstra I tracked down why the docs still weren’t working after this PR got merged. |

Description
Add versioning support to the py-rattler docs so the header shows a version dropdown
What changed
py-rattler/mkdocs.yml: Enabled the mike plugin and version provider so the theme shows a version selector. Versioned docs live underpy-rattler/<version>/.py-rattler/pixi.toml: Added mike and the deploy tasks: deploy-dev and deploy-latest..github/workflows/docs.yaml: Docs are now pushed to thegh-pagesbranch: main → dev, tags like v0.23.0 → that version + latest. Rustdoc stays at `/``.Screen.Recording.2026-03-11.at.6.39.56.PM.mov
Fixes #1209
How Has This Been Tested?
Tested locally by deploying the dev docs and serving the generated site.
Checklist: