Skip to content

Commit fc130b2

Browse files
Fix docs version (#880)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 31aaa1a commit fc130b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
HERE = osp.abspath(osp.dirname(__file__))
2323
ROOT = osp.dirname(osp.dirname(HERE))
2424

25-
from traitlets import version_info
25+
from traitlets import __version__, version_info
2626

2727
# If extensions (or modules to document with autodoc) are in another directory,
2828
# add these directories to sys.path here. If the directory is relative to the
@@ -82,7 +82,7 @@
8282
# The short X.Y version.
8383
version = ".".join(map(str, version_info[:2]))
8484
# The full version, including alpha/beta/rc tags.
85-
release = "__version__"
85+
release = __version__
8686

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

0 commit comments

Comments
 (0)