summaryrefslogtreecommitdiffstats
path: root/doc/conf.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-09-09 15:28:18 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-09-09 15:28:18 -0500
commit29657722d93f9fec56390cc764459669acdc6195 (patch)
tree9b8c896c9953d5895f05a1791e0593815ef61073 /doc/conf.py
parent55c44efd3253f930d2ac4d860c9608c8ac8e102e (diff)
downloadbcfg2-29657722d93f9fec56390cc764459669acdc6195.tar.gz
bcfg2-29657722d93f9fec56390cc764459669acdc6195.tar.bz2
bcfg2-29657722d93f9fec56390cc764459669acdc6195.zip
doc: Fix build_sphinx
This allows one to prepend to the sys.path since the machine where you are building the documentation may have the Bcfg2 client (not server) installed. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 1bde7a083..c10c073c3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -19,7 +19,8 @@ import time
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
-sys.path.append(os.path.abspath('../src/lib'))
+#sys.path.append(os.path.abspath('../src/lib'))
+sys.path.insert(0, os.path.abspath('../src/lib'))
# -- General configuration -----------------------------------------------------