Support generating pydoctor output.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 8 May 2009 16:39:17 +0000 (18:39 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 8 May 2009 16:39:17 +0000 (18:39 +0200)
.bzrignore
Makefile
dulwich.cfg [new file with mode: 0644]

index 57d40900256db1e93ded8eee433208b5b09b30db..27708d04c71e87cf9b8f14a41ee2f8ea303230aa 100644 (file)
@@ -2,3 +2,4 @@ _trial_temp
 build
 MANIFEST
 dist
+apidocs
index cb6f599839fa818d7280674235250766dcdc0eec..14238e32901e6708e9141a105e1d9f8a90059d4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,15 @@
 PYTHON = python
 SETUP = $(PYTHON) setup.py
+PYDOCTOR ?= pydoctor
 TESTRUNNER = $(shell which trial)
 
 all: build 
 
+doc:: pydoctor
+
+pydoctor::
+       $(PYDOCTOR) --make-html -c dulwich.cfg
+
 build::
        $(SETUP) build
        $(SETUP) build_ext -i
diff --git a/dulwich.cfg b/dulwich.cfg
new file mode 100644 (file)
index 0000000..208f056
--- /dev/null
@@ -0,0 +1,5 @@
+packages: dulwich
+docformat: restructuredtext
+projectname: Dulwich
+projecturl: http://samba.org/~jelmer/dulwich/
+htmloutput: apidocs