|
17 | 17 | # If extensions (or modules to document with autodoc) are in another directory, |
18 | 18 | # add these directories to sys.path here. If the directory is relative to the |
19 | 19 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
20 | | -#sys.path.insert(0, os.path.abspath('.')) |
21 | | -sys.path.insert(0, os.path.abspath('..')) |
| 20 | + |
| 21 | +# Some hackery here to get deis.py to be importable as client.deis |
| 22 | +open(os.path.join('..', '__init__.py'), 'a') |
| 23 | +sys.path.insert(0, os.path.abspath(os.path.join('..'))) |
| 24 | +sys.path.insert(0, os.path.abspath(os.path.join('..', 'controller'))) |
22 | 25 | # create local_settings.py for SECRET_KEY if necessary |
23 | 26 | local_settings_path = os.path.abspath( |
24 | 27 | os.path.join('..', 'controller', 'deis', 'local_settings.py')) |
|
137 | 140 | # Add any paths that contain custom static files (such as style sheets) here, |
138 | 141 | # relative to this directory. They are copied after the builtin static files, |
139 | 142 | # so a file named "default.css" will overwrite the builtin "default.css". |
140 | | -html_static_path = ['../web/static'] |
| 143 | +html_static_path = ['../controller/web/static'] |
141 | 144 |
|
142 | 145 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
143 | 146 | # using the given strftime format. |
|
0 commit comments