Skip to content

Commit abe18d5

Browse files
authored
Merge pull request #228 from Nobatek/fix_version_in_docs
Fix version in docs: get version from code
2 parents 864f787 + 94b2303 commit abe18d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@
4747
# |version| and |release|, also used in various other places throughout the
4848
# built documents.
4949
#
50+
import flask_mongoengine
5051
# The short X.Y version.
51-
version = '0.1'
52+
version = flask_mongoengine.get_version()
5253
# The full version, including alpha/beta/rc tags.
53-
release = '0.1'
54+
release = flask_mongoengine.get_version()
5455

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

0 commit comments

Comments
 (0)