From c09cf779a30eac9174a23827acf534e1cc18ce50 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 8 Jan 2021 04:39:24 -0500 Subject: [PATCH] Fix tag references in builds --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 774cb9a67..d15ad1be0 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.