aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2014-08-01 13:14:10 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2014-08-01 13:14:10 -0400
commit2c07b72481468d2d2eab41e66f718a50cbb12ee0 (patch)
tree3054941db4591f3832a00879a8b2d5a313112192 /docs/conf.py
parent3e69a0890c259ef196f85227fc15fb4a9b784b59 (diff)
downloadsos-2c07b72481468d2d2eab41e66f718a50cbb12ee0.tar.gz
[docs] include sos import path for resolving modules
During documentation generation we need to be able to resolve the modules on other systems while generating the documentation. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 367faeca..41d81140 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -20,6 +20,9 @@ import os
# 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('.'))
+sys.path.insert(0, os.path.abspath('..'))
+import sos
+
# -- General configuration ------------------------------------------------