mirror of
https://github.com/kennethreitz/maya.git
synced 2026-06-05 06:46:14 +00:00
Versioning in docs off Maya Package
Signed-off-by: Evan.Mattiza <emattiza@gmail.com>
This commit is contained in:
+7
-4
@@ -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.
|
||||
|
||||
@@ -74,6 +74,8 @@ Release v\ |version|. (:ref:`Installation <install>`)
|
||||
:maxdepth: 2
|
||||
:caption: Contents:
|
||||
|
||||
user/install
|
||||
|
||||
|
||||
Indices and tables
|
||||
==================
|
||||
|
||||
Reference in New Issue
Block a user