diff --git a/docs/source/conf.py b/docs/source/conf.py index 528130cb..1b3d587b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -22,7 +22,7 @@ HERE = osp.abspath(osp.dirname(__file__)) ROOT = osp.dirname(osp.dirname(HERE)) -from traitlets import version_info +from traitlets import __version__, version_info # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -82,7 +82,7 @@ # The short X.Y version. version = ".".join(map(str, version_info[:2])) # The full version, including alpha/beta/rc tags. -release = "__version__" +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.