mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-05 12:02:27 +02:00
Add a version selector to the docs and publish one snapshot per release instead of a single rolling site, so readers can pick the docs matching their installed version (the docs change release to release). - mkdocs.yml: enable the Material version selector (extra.version.provider: mike, alias: true). - docs/requirements.txt: add mike==2.1.3. - pages.yml: deploy with mike, triggered by a release TAG (semver) instead of every push to main — publishing is tied to the release because docs/ru is only regenerated then. Deploys `X.Y.Z` + the `latest` alias to the gh-pages branch and sets latest as default. workflow_dispatch takes an explicit version. - updates_checklist.md: note the tag-triggered versioned publish. One-time setup (GitHub UI): Settings → Pages → Deploy from a branch → gh-pages.