aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-20 02:39:12 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-20 02:39:12 +0300
commite65e611a6209188939440d7e7a0cfa752a359b10 (patch)
tree0d79d010a8917556b182660be5fad299c685a886
parentAdd docs (diff)
downloadgentoo-packages-e65e611a6209188939440d7e7a0cfa752a359b10.tar.gz
gentoo-packages-e65e611a6209188939440d7e7a0cfa752a359b10.tar.bz2
gentoo-packages-e65e611a6209188939440d7e7a0cfa752a359b10.zip
Update sphinx config
-rw-r--r--docs/source/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 5e03907..a9e2d43 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -17,6 +17,8 @@ PROJECT_PATH = os.path.abspath(os.path.join(DIR, '../..'))
PROJECT_ROOT = os.path.join(PROJECT_PATH, 'gpackages')
sys.path.insert(0, os.path.join(PROJECT_ROOT, 'libs'))
sys.path.insert(0, os.path.join(PROJECT_ROOT, 'apps'))
+sys.path.insert(0, os.path.join(PROJECT_ROOT, 'main'))
+os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
# 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