We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bf5b3d commit e598c9aCopy full SHA for e598c9a
scripts/version_mapper.py
@@ -94,7 +94,9 @@ def update_switch_version_file(
94
json.dump(new_content, switcher_file, indent=4)
95
96
# Use the latest stable verion for formatting the announcement
97
- announcement_link = f"<a href='{cname}/release/{version}'>{version}</a>"
+ announcement_link = (
98
+ f"<a href='{cname}/release/{latest_stable_version}'>{latest_stable_version}</a>"
99
+ )
100
announcement_content = f"<p>You are not viewing the most recent version of this documentation. The latest stable release is {announcement_link}.</p>"
101
102
# Include the announcement in all available release folders. Note that
0 commit comments