ReadTheDocs Versioning and Release Management
Last updated: July 22, 2026 Document type: Operations guide
For maintainers: understand how ReadTheDocs automatically builds and manages documentation versions across releases.
Overview
ReadTheDocs (RTD) automatically tracks and builds documentation for different versions of the SDK based on git tags and branches. This allows users to view documentation for the specific version they’re using.
Current configuration
The .readthedocs.yml configuration enables docs builds on RTD, but version visibility is controlled by RTD project state:
masterbranch is typically available aslatest.Git tags are discovered by RTD as version candidates.
Versions appear in the selector only when they are active and built in RTD.
stableis an alias managed in RTD (commonly the latest release tag).
How versioning works
Branch tracking
masterbranch → Latest development docsOther branches → Not built by default
Release matrix
After several releases, RTD shows:
Version |
URL |
Status |
|---|---|---|
2.0.5 |
|
stable (highest tag) |
2.0.4 |
|
old release |
2.0.3 |
|
old release |
Latest |
|
master branch |
Creating a new release
Step 1: Create a git tag
git tag v2.0.6 -m "Release version 2.0.6"
git push origin v2.0.6
Step 2: Update version in pyproject.toml
[project]
version = "2.0.6"
Commit and push:
git add pyproject.toml
git commit -m "Bump version to 2.0.6"
git push origin master
Step 3: RTD build and activation
After pushing the tag, RTD detects it. To ensure it appears in the version selector:
Confirm the tag version is active in Admin -> Versions.
Trigger/retry a build for the tag if it is not already built.
Optionally add/update Automation Rules so future
v*tags auto-activate and build.Verify the docs URL exists (for example,
/en/v2.0.6/).
RTD web interface
Viewing builds
Go to https://readthedocs.org/projects/britecore-sdk/
Navigate to Builds tab
See all recent builds (master branch and all tags)
Click any build to see logs and output
Configuring versions
Go to Admin → Versions
Toggle versions on/off (hidden versions still accessible via direct URL)
Set “default version” (what loads when user visits root URL)
Mark which version is “stable”
Current defaults:
Default version: “latest” (master branch)
Stable version: highest tag (auto-selected)
FAQ
Q: Can users view docs for older releases?
A: Yes, as long as those versions are active and built in RTD. Users can:
Click the version switcher (bottom-left of any doc page)
Select any version from the list
Or visit the URL directly:
/en/v2.0.3/
Q: Will RTD build from all my branches?
A: No. By default, master maps to latest. Other branches/tags must be enabled in RTD project settings (or covered by automation rules) to be built and shown.
Q: What if I want to hide an old version?
A: RTD provides version hiding:
Go to Admin → Versions
Toggle the version off (“Hidden”)
The docs are still built and accessible via direct URL, but don’t appear in the version switcher
This is useful for yanked releases or pre-releases.
Q: Can I build docs for release candidates?
A: Yes, but you’ll need a different naming scheme. Examples:
v2.1.0rc1(release candidate) — tags matching this still workv2.1.0a1(alpha) — also supported
All follow semantic versioning patterns that RTD recognizes.
Q: Why do I only see latest and stable in the selector?
A: This usually means tag versions are discovered but not active/built. Check Admin -> Versions and ensure each release tag is enabled and has a successful build.
Q: How do I update docs for a released version?
A: Create a bug-fix tag:
# Create from existing tag (e.g., 2.0.5)
git checkout v2.0.5
git checkout -b hotfix-docs
# Make doc fixes
git add docs/
git commit -m "Fix docs for v2.0.5"
git tag v2.0.5.post1
git push origin v2.0.5.post1
RTD will build v2.0.5.post1 as a new version.