Browse Source

docs: fix version

master
Richard Nemeth 5 days ago
parent
commit
bcb1870ac8
No known key found for this signature in database GPG Key ID: 21C39470DF3DEC39
  1. 6
      docs/source/conf.py

6
docs/source/conf.py

@ -22,6 +22,8 @@
"""Sphinx documentation configuration."""
import os
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@ -68,9 +70,9 @@ author = "Marcos Pereira"
# built documents.
#
# The short X.Y version.
version = "0.0.0"
version = os.getenv("READTHEDOCS_VERSION", "latest")
# The full version, including alpha/beta/rc tags.
release = "0.0.0"
release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

Loading…
Cancel
Save