From f8c24f973f191fa9590804e9d2939a18b9bdb775 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Sat, 15 Jun 2013 11:20:50 +0200 Subject: Upload docs settings --- docs/conf.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/conf.py b/docs/conf.py index 8de1faf..949aee2 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,6 +17,8 @@ import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) +from bvggrabber import get_version + # If extensions (or modules to document with autodoc) are in another directory, # 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. @@ -52,9 +54,9 @@ copyright = '2013, Markus Holtermann, Christian Struck' # built documents. # # The short X.Y version. -version = '0.0.1pre' +version = get_version() # The full version, including alpha/beta/rc tags. -release = '0.0.1pre' +release = get_version() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -95,7 +97,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'nature' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the -- cgit v1.2.3