Versioning in docs off Maya Package

Signed-off-by: Evan.Mattiza <emattiza@gmail.com>
This commit is contained in:
Evan.Mattiza
2017-05-28 16:47:08 -05:00
parent 8469e60d3c
commit c0f1bd709f
2 changed files with 9 additions and 4 deletions
+7 -4
View File
@@ -17,10 +17,13 @@
# 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.
#
# import os
# import sys
import os
import sys
# sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('_themes'))
import maya
# -- General configuration ------------------------------------------------
@@ -58,9 +61,9 @@ author = 'Kenneth Reitz'
# built documents.
#
# The short X.Y version.
version = ''
version = maya.__version__
# The full version, including alpha/beta/rc tags.
release = ''
release = maya.__version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
+2
View File
@@ -74,6 +74,8 @@ Release v\ |version|. (:ref:`Installation <install>`)
:maxdepth: 2
:caption: Contents:
user/install
Indices and tables
==================