diff --git a/docs/conf.py b/docs/conf.py index cb854da..003b042 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,11 +58,10 @@ def __getattr__(cls, name): # If your documentation needs a minimal Sphinx version, state it here. # # needs_sphinx = '1.0' - -from adaptivemd import version as v +import adaptivemd print("Generating doc for AdaptiveMD version {version} installed in {path}" - .format(version=v.short_version, path=v.__file__)) + .format(version=adaptivemd.__version__, path=adaptivemd.__path__)) # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom @@ -116,9 +115,9 @@ def __getattr__(cls, name): # built documents. # # The short X.Y version. -version = v.short_version +version = adaptivemd.__version__ # The full version, including alpha/beta/rc tags. -release = v.full_version +release = adaptivemd.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.