diff --git a/docs/source/conf.py b/docs/source/conf.py index 4e78a9c..6cb4c02 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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. diff --git a/docs/source/index.rst b/docs/source/index.rst index b8d9e5b..9273452 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -74,6 +74,8 @@ Release v\ |version|. (:ref:`Installation `) :maxdepth: 2 :caption: Contents: + user/install + Indices and tables ==================