From 29657722d93f9fec56390cc764459669acdc6195 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Sun, 9 Sep 2012 15:28:18 -0500 Subject: 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 --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') 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 ----------------------------------------------------- -- cgit v1.2.3-1-g7c22