X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=docs%2Fsource%2Fconf.py;h=ca959894e18a314d4c7af16346c0fd7c0f3f95e6;hb=2dd0cf8f5bbf63c0e0a423344de95e9d433bf7af;hp=70b39fa54861edaa1ac277a9d902581d53952a7e;hpb=9182b97e269e510911a29c9e9c56a7c3bdd76ebf;p=notmuch diff --git a/docs/source/conf.py b/docs/source/conf.py index 70b39fa5..ca959894 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -16,13 +16,15 @@ import sys, os # 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. -sys.path.append(os.path.abspath('../..')) +sys.path.insert(0,os.path.abspath('../..')) +from cnotmuch.notmuch import __VERSION__,__AUTHOR__ # -- General configuration ----------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo'] +autoclass_content = "both" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -37,17 +39,17 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'notmuch' -copyright = u'2010, Sebastian Spaeth' +project = u'cnotmuch' +copyright = u'2010, ' + __AUTHOR__ # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '0.1' +version = __VERSION__ # The full version, including alpha/beta/rc tags. -release = '0.1' +release = __VERSION__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.