diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2012-09-09 15:28:18 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2012-09-09 15:28:18 -0500 |
commit | 29657722d93f9fec56390cc764459669acdc6195 (patch) | |
tree | 9b8c896c9953d5895f05a1791e0593815ef61073 /doc | |
parent | 55c44efd3253f930d2ac4d860c9608c8ac8e102e (diff) | |
download | bcfg2-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')
-rw-r--r-- | doc/conf.py | 3 |
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 ----------------------------------------------------- |