Top-level documentation.

This commit is contained in:
Jonathan Lange
2010-11-28 15:03:13 +00:00
parent e1f2ba3d48
commit 94f2c6af88

View File

@@ -12,7 +12,7 @@ TAGS: ${SOURCES}
tags: ${SOURCES}
ctags -R testtools/
clean:
clean: clean-sphinx
rm -f TAGS tags
find testtools -name "*.pyc" -exec rm '{}' \;
@@ -26,10 +26,24 @@ release:
snapshot: prerelease
./setup.py sdist
### Documentation ###
apidocs:
pydoctor --make-html --add-package testtools \
--docformat=restructuredtext --project-name=testtools \
--project-url=https://launchpad.net/testtools
docs: docs-sphinx
.PHONY: check clean prerelease release apidocs
docs-sphinx: html-sphinx
# Clean out generated documentation
clean-sphinx:
cd doc && make clean
# Build the html docs using Sphinx.
html-sphinx:
cd doc && make html
.PHONY: apidocs docs-sphinx clean-sphinx html-sphinx docs
.PHONY: check clean prerelease release