[Lxml-checkins] r44942 - lxml/trunk
scoder at codespeak.net
scoder at codespeak.net
Thu Jul 12 01:15:52 CEST 2007
Author: scoder
Date: Thu Jul 12 01:15:52 2007
New Revision: 44942
Modified:
lxml/trunk/Makefile
Log:
use epydoc (if available) to generate API docs
Modified: lxml/trunk/Makefile
==============================================================================
--- lxml/trunk/Makefile (original)
+++ lxml/trunk/Makefile Thu Jul 12 01:15:52 2007
@@ -36,6 +36,9 @@
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
More information about the lxml-checkins
mailing list