[Lxml-checkins] r44943 - lxml/branch/lxml-1.3
scoder at codespeak.net
scoder at codespeak.net
Thu Jul 12 01:18:40 CEST 2007
Author: scoder
Date: Thu Jul 12 01:18:39 2007
New Revision: 44943
Modified:
lxml/branch/lxml-1.3/Makefile
Log:
use epydoc (if available) to generate API docs
Modified: lxml/branch/lxml-1.3/Makefile
==============================================================================
--- lxml/branch/lxml-1.3/Makefile (original)
+++ lxml/branch/lxml-1.3/Makefile Thu Jul 12 01:18:39 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