diff options
Diffstat (limited to 'docs/source/conf.py')
-rw-r--r-- | docs/source/conf.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index c4adb72..1b9e7fc 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -7,6 +7,7 @@ # dir. import os +from os import path import sys # If extensions (or modules to document with autodoc) are in another directory, @@ -23,6 +24,16 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage'] +html_theme_path = ['.'] + +try: + import dbuilder +except ImportError: + pass +else: + extensions.append('dbuilder') + html_theme_path.append(path.join(dbuilder.__path__[0], 'theme')) + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -44,9 +55,9 @@ copyright = u'2010, Jason Kirtland' # built documents. # # The short X.Y version. -version = '0.9' +version = 'tip' # The full version, including alpha/beta/rc tags. -release = '0.9dev' +release = 'tip' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. |