Commits

Tibor Tóth committed e103406

integrate sphinx version with application version

  • Participants
  • Parent commits f960789
  • Branches develop

Comments (0)

Files changed (1)

File docs/conf.py

 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #sys.path.append(os.path.abspath('.'))
-
+sys.path.append(os.path.abspath('../'))
+from expense import VERSION
 # -- General configuration -----------------------------------------------------
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # built documents.
 #
 # The short X.Y version.
-version = '0.2.1'
+version = VERSION
 # The full version, including alpha/beta/rc tags.
-release = '0.2.1'
+release = VERSION
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.