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 5e806d1 commit 3bfe966Copy full SHA for 3bfe966
doc/conf.py
@@ -84,7 +84,9 @@ def is_id():
84
elif branch.startswith("release_"):
85
pass # release branch, like: release_2.1.0
86
elif branch == "stable":
87
- branch = f"release_{xgboost.__version__}"
+ # Avoid patch release branch.
88
+ v = xgboost.__version__.split(".")
89
+ branch = f"release_{v[0]}.{v[1]}.0"
90
elif is_id():
91
# Likely PR branch
92
branch = f"PR-{branch}"
0 commit comments