Permalink
Browse files

[svn r2631] use epydoc (if available) to generate API docs

--HG--
branch : trunk
  • Loading branch information...
1 parent 7e21546 commit 970fb0afa5e9a16195bca48600f61a2a887a19ec scoder committed Jul 11, 2007
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
View
@@ -36,6 +36,9 @@ ftest_inplace: inplace
html: inplace
mkdir -p doc/html
PYTHONPATH=src $(PYTHON) doc/mkhtml.py doc/html . `cat version.txt`
+ [ -x "`which epydoc`" ] \
+ && (cd src && PYTHONPATH=. epydoc -o ../doc/html/api --name lxml --url http://codespeak.net/lxml/ --top http://codespeak.net/lxml/api lxml/) \
+ || (echo "not generating epydoc API documentation")
# XXX What should the default be?
test: test_inplace

0 comments on commit 970fb0a

Please sign in to comment.