fix sphinx

This commit is contained in:
termie 2012-01-18 10:54:33 -08:00
parent 198d168a52
commit e129d5f402
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ clean:
-rm -rf $(BUILDDIR)/*
autodoc:
$(SPHINXAPIDOC) -o $(SOURCEDIR) ../keystone
$(SPHINXAPIDOC) -f -o $(SOURCEDIR) ../keystone
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

View File

@ -16,7 +16,7 @@ import sys, os
# 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.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration -----------------------------------------------------