Skip to content

docs: publish a version switcher for development and release builds - #57

Merged
KazuCocoa merged 1 commit into
masterfrom
docs/published-version-menu
Nov 27, 2026
Merged

KazuCocoa merged 1 commit into
masterfrom
docs/published-version-menu

Conversation

@KazuCocoa

Copy link
Copy Markdown
Member

Companion to appium/python-client#1386. The client supplies the themed Sphinx pages. This workflow identifies the build and publishes the shared version menu.

Development builds update the root and latest/. Builds of release tags update their major/minor directory. Previously a development build also overwrote its matching major/minor directory. Keeping the directories separate lets a reader select the released API even when master has moved on.

Generate switcher.json from directories containing an index, with Development first and release lines sorted numerically. Older published HTML remains accessible. Pages built with the new theme display the switcher after the generated documentation update is merged.

Validation:

  • All six publishing script tests passed.
  • Built the companion PR with Sphinx warnings treated as errors for development and release version identifiers. Staged both through the publishing script and verified the root, latest and versioned HTML, menu entries and version identifiers.

Suggested merge order: appium/python-client#1386 first, then this PR. The normal documentation workflow produces a separate generated HTML update.

@KazuCocoa
KazuCocoa merged commit 1f5a969 into master Nov 27, 2026
2 checks passed
@KazuCocoa
KazuCocoa deleted the docs/published-version-menu branch November 27, 2026 07:22
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.

1 participant