1. qx0monster
  2. polib

Commits

David Jean Louis  committed e9c9340

Do not hardcode polib version in doc conf

  • Participants
  • Parent commits f631467
  • 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 polib
+
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
 # built documents.
 #
 # The short X.Y version.
-version = '0.6.0'
+version = polib.__version__
 # The full version, including alpha/beta/rc tags.
-release = '0.6.0'
+release = polib.__version__
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.