1 |
commit: 438881c99fcf807bc72047bd49f863522f130a90 |
2 |
Author: Slava Bacherikov <slava <AT> bacher09 <DOT> org> |
3 |
AuthorDate: Mon Aug 27 21:27:35 2012 +0000 |
4 |
Commit: Slava Bacherikov <slava <AT> bacherikov <DOT> org <DOT> ua> |
5 |
CommitDate: Mon Aug 27 21:27:35 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=438881c9 |
7 |
|
8 |
Execute settings in doc config |
9 |
|
10 |
--- |
11 |
docs/source/conf.py | 4 ++-- |
12 |
1 files changed, 2 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/docs/source/conf.py b/docs/source/conf.py |
15 |
index dc21c25..f656039 100644 |
16 |
--- a/docs/source/conf.py |
17 |
+++ b/docs/source/conf.py |
18 |
@@ -15,10 +15,10 @@ import sys, os |
19 |
DIR = os.path.dirname(__file__) |
20 |
PROJECT_PATH = os.path.abspath(os.path.join(DIR, '../..')) |
21 |
PROJECT_ROOT = os.path.join(PROJECT_PATH, 'gpackages') |
22 |
-sys.path.insert(0, os.path.join(PROJECT_ROOT, 'libs')) |
23 |
-sys.path.insert(0, os.path.join(PROJECT_ROOT, 'apps')) |
24 |
sys.path.insert(0, os.path.join(PROJECT_ROOT, 'main')) |
25 |
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' |
26 |
+# for execute local_settings |
27 |
+import settings |
28 |
|
29 |
# If extensions (or modules to document with autodoc) are in another directory, |
30 |
# add these directories to sys.path here. If the directory is relative to the |