Allows docs to be built on RTFD.org

* Makes me happy.

Change-Id: I01f4d5b13986255aa0f5572de028cc07ce116363
This commit is contained in:
Jason Kölker 2012-03-15 17:59:44 -05:00
parent aa76fce9aa
commit 643b7094b2
2 changed files with 6 additions and 8 deletions

View File

@ -32,10 +32,10 @@ import sys
# 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('../melange'),
os.path.abspath('..'),
os.path.abspath('../bin')
])
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
MELANGE_DIR = os.path.abspath(os.path.join(BASE_DIR, "..", ".."))
sys.path.insert(0, MELANGE_DIR)
# -- General configuration ---------------------------------------------------
@ -242,7 +242,7 @@ latex_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'python': ('http://docs.python.org/', None),
'dashboard': ('http://dashboard.openstack.org', None),
'horizon': ('http://horizon.openstack.org', None),
'glance': ('http://glance.openstack.org', None),
'keystone': ('http://keystone.openstack.org', None),
'nova': ('http://nova.openstack.org', None),

View File

@ -14,11 +14,9 @@
License for the specific language governing permissions and limitations
under the License.
Welcome to Skeleton's documentation!
Welcome to Melange's documentation!
====================================
Description of Skeleton project
API Docs
========