Pete Zaitcev 5b333db
From bed81ef7bc00e6971dd1d850cf6c1d003beab2af Mon Sep 17 00:00:00 2001
448ea09
From: Alan Pevec <apevec@redhat.com>
448ea09
Date: Thu, 5 Jan 2012 00:03:00 +0100
448ea09
Subject: [PATCH] Add fixes for building the doc package
448ea09
MIME-Version: 1.0
448ea09
Content-Type: text/plain; charset=UTF-8
448ea09
Content-Transfer-Encoding: 8bit
448ea09
Pete Zaitcev 5b333db
Don't access the net and always reference
Pete Zaitcev 5b333db
the swift module from the package we're building
448ea09
Based on Nova/Glance EPEL patch by Pádraig Brady <P@draigBrady.com>
448ea09
---
Pete Zaitcev 5b333db
 doc/source/conf.py | 4 ++--
Pete Zaitcev 5b333db
 1 file changed, 2 insertions(+), 2 deletions(-)
448ea09
448ea09
diff --git a/doc/source/conf.py b/doc/source/conf.py
Pete Zaitcev 5b333db
index 5d2fbd3..2c3d63a 100644
448ea09
--- a/doc/source/conf.py
448ea09
+++ b/doc/source/conf.py
Pete Zaitcev 379340b
@@ -20,8 +20,8 @@ import datetime
448ea09
 # If extensions (or modules to document with autodoc) are in another directory,
448ea09
 # add these directories to sys.path here. If the directory is relative to the
448ea09
 # documentation root, use os.path.abspath to make it absolute, like shown here.
448ea09
-sys.path.extend([os.path.abspath('../swift'), os.path.abspath('..'),
448ea09
-                 os.path.abspath('../bin')])
448ea09
+sys.path.extend([os.path.abspath('../../swift'), os.path.abspath('../..'),
448ea09
+                 os.path.abspath('../../bin')])
448ea09
 
448ea09
 # -- General configuration ----------------------------------------------------
448ea09