Skip to content

Commit 8c16d09

Browse files
committed
Read documentation version from module
1 parent 76c336a commit 8c16d09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,11 @@
5555
# |version| and |release|, also used in various other places throughout the
5656
# built documents.
5757
#
58+
import sane
5859
# The short X.Y version.
59-
version = '2.8.0'
60+
version = sane.__version__
6061
# The full version, including alpha/beta/rc tags.
61-
release = '2.8.0'
62+
release = sane.__version__
6263

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

0 commit comments

Comments
 (0)