diff --git a/docs/conf.py b/docs/conf.py index 4bdc498..c592027 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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. @@ -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.