Skip to content

Commit dc055a2

Browse files
committed
Update conf.py for docs
1 parent 2a258cc commit dc055a2

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
@@ -21,6 +21,7 @@
2121
import recommonmark
2222
from recommonmark.parser import CommonMarkParser
2323
from recommonmark.transform import AutoStructify
24+
from pymodbus import __version__
2425
parent_dir = os.path.abspath(os.pardir)
2526
# examples = os.path.join(parent_dir, "examples")
2627
example_contrib = os.path.join(parent_dir, "examples/contrib")
@@ -72,9 +73,9 @@
7273
# built documents.
7374
#
7475
# The short X.Y version.
75-
version = u'1.4.0'
76+
version = __version__
7677
# The full version, including alpha/beta/rc tags.
77-
release = u'1.4.0'
78+
release = __version__
7879

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

0 commit comments

Comments
 (0)