mirror of
https://github.com/RGBCube/GitHubWrapper
synced 2025-05-28 03:35:09 +00:00
Update readthedocs version (might break stuff)
This commit is contained in:
parent
0d10386c39
commit
17b813532d
14 changed files with 67 additions and 70 deletions
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -85,7 +85,7 @@ with open('../github/__init__.py') as f:
|
|||
release = version
|
||||
|
||||
# This assumes a tag is available for final releases
|
||||
branch = 'master' if version.endswith('a') else 'v' + version
|
||||
branch = 'master' if version.endswith('a') else f"v{version}"
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue