Skip to content

Commit

Permalink
Use main package version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill committed Jan 15, 2024
1 parent 8dfa22c commit 41508b2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(".."))

from metsrw import __version__

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -49,9 +51,9 @@
# built documents.
#
# The short X.Y version.
version = "0.3.15"
version = __version__
# The full version, including alpha/beta/rc tags.
release = "0.3.15"
release = version

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

0 comments on commit 41508b2

Please sign in to comment.