summaryrefslogtreecommitdiff
path: root/mail/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'mail/docs/conf.py')
-rw-r--r--mail/docs/conf.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/mail/docs/conf.py b/mail/docs/conf.py
index 95d919b..746f57c 100644
--- a/mail/docs/conf.py
+++ b/mail/docs/conf.py
@@ -18,9 +18,16 @@ import 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.insert(0, os.path.abspath('../src'))
-sys.path.insert(0, os.path.abspath('../src/leap'))
-sys.path.insert(0, os.path.abspath('../src/leap/mail'))
+#sys.path.insert(0, os.path.abspath('../src'))
+#sys.path.insert(0, os.path.abspath('../src/leap'))
+#sys.path.insert(0, os.path.abspath('../src/leap/mail'))
+#sys.path.insert(0, os.path.abspath('../../leap_common/src/leap/common'))
+#sys.path.insert(0, os.path.abspath('../../soledad/client/src/leap/soledad/client'))
+
+VENV_PATH = os.environ.get('VIRTUAL_ENV')
+if VENV_PATH:
+ sys.path.insert(0, os.path.abspath(VENV_PATH + 'lib/python2.7/site-packages'))
+
# -- General configuration ------------------------------------------------
@@ -57,7 +64,7 @@ copyright = u'2014-2015, The LEAP Encryption Access Project'
# built documents.
#
# The short X.Y version.
-version = '0.4.0alpha1'
+version = '0.4.0rc2'
# The full version, including alpha/beta/rc tags.
release = '0.4.0'
@@ -104,7 +111,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 = 'alabaster'
# 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