Skip to content

Commit

Permalink
Fetch Sphinx extensions from Numpy's SVN, via svn:externals
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Nov 30, 2008
1 parent 709cef2 commit ef280bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions doc/Makefile
Expand Up @@ -48,15 +48,12 @@ dist: html
find build/dist -type d -print0 | xargs -0r chmod g+s

generate: build/generate-stamp
build/generate-stamp: $(wildcard source/*.rst) ext
build/generate-stamp: $(wildcard source/*.rst)
mkdir -p build
./ext/autosummary_generate.py source/*.rst \
./sphinxext/autosummary_generate.py source/*.rst \
-p dump.xml -o source/generated
touch build/generate-stamp

ext:
svn co http://sphinx.googlecode.com/svn/contrib/trunk/numpyext ext

html: generate
mkdir -p build/html build/doctrees
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html
Expand Down
2 changes: 1 addition & 1 deletion doc/source/conf.py
Expand Up @@ -5,7 +5,7 @@
# If your extensions are in another directory, add it 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('../ext'))
sys.path.append(os.path.abspath('../sphinxext'))

# Check Sphinx version
import sphinx
Expand Down

0 comments on commit ef280bb

Please sign in to comment.