Skip to content

Commit

Permalink
Merge pull request #13 from xylar/fix_docs_version
Browse files Browse the repository at this point in the history
Fix docs version
  • Loading branch information
xylar authored Apr 10, 2020
2 parents 1fefe67 + b1d7669 commit ab6a5c3
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,14 @@
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y.Z version.
version = pyremap.__version__
# The full version, including alpha/beta/rc tags.
release = pyremap.__version__
if 'DOCS_VERSION' in os.environ:
version = os.environ.get('DOCS_VERSION')
release = version
else:
# The short X.Y.Z version.
version = pyremap.__version__
# The full version, including alpha/beta/rc tags.
release = pyremap.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit ab6a5c3

Please sign in to comment.