Skip to content

Commit ad640d9

Browse files
committed
Include micro field in sphinx version.
Just strip away anything after the ".post" marker.
1 parent f6619fa commit ad640d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/manual/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
fullversion = versiondata.get('DEFAULT', 'version')
5959
sys.path.remove(os.path.abspath('../../..'))
6060
# The short X.Y version.
61-
version = '.'.join(fullversion.split('.')[:2])
61+
version = ''.join(fullversion.split('.post')[:1])
6262
# The full version, including alpha/beta/rc tags.
6363
release = fullversion
6464

0 commit comments

Comments
 (0)