Revision d44b407c docs/conf.py
b/docs/conf.py | ||
---|---|---|
16 | 16 |
# documentation root, use os.path.abspath to make it absolute, like shown here. |
17 | 17 |
|
18 | 18 |
import sys, os |
19 |
#sys.path.append('/home/saxtouri/src/synnefo/snf-common/') |
|
20 |
sys.path.append('../') |
|
19 |
|
|
20 |
try: |
|
21 |
from synnefo import lib |
|
22 |
except ImportError: |
|
23 |
sys.stderr.write("`snf-common` package is required to build kamaki docs.\n") |
|
24 |
exit() |
|
25 |
|
|
26 |
sys.path.append(os.path.join(os.path.abspath(os.path.dirname(__file__)),'..')) |
|
21 | 27 |
|
22 | 28 |
# -- General configuration ----------------------------------------------------- |
23 | 29 |
|
Also available in: Unified diff