aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-01-08 04:39:24 -0500
committerRapptz <[email protected]>2021-01-08 04:39:24 -0500
commitc09cf779a30eac9174a23827acf534e1cc18ce50 (patch)
tree46cf4a97b4dfcf4cb5654e86cc291535c915f1be
parentChangelog fixes (diff)
downloaddiscord.py-c09cf779a30eac9174a23827acf534e1cc18ce50.tar.xz
discord.py-c09cf779a30eac9174a23827acf534e1cc18ce50.zip
Fix tag references in builds
-rw-r--r--docs/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 774cb9a6..d15ad1be 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -93,7 +93,7 @@ with open('../discord/__init__.py') as f:
release = version
# This assumes a tag is available for final releases
-branch = 'master' if version.endswith('a') else version
+branch = 'master' if version.endswith('a') else 'v' + version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.