1. Yu-Jie Lin
  2. b.py

Commits

Yu-Jie Lin  committed b0a2dfd

fix doc version string

  • Participants
  • Parent commits ee3d386
  • Branches default

Comments (0)

Files changed (1)

File docs/conf.py

View file
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 sys.path.insert(0, os.path.abspath('..'))
 
+import b
+
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
 # built documents.
 #
 # The short X.Y version.
-version = '0.6'
+version = '.'.join(b.__version__.split('.')[:2])
 # The full version, including alpha/beta/rc tags.
-release = '0.6.2'
+release = b.__version__
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.