Permalink
Browse files

Support generating pydoctor output.

  • Loading branch information...
1 parent c34d66f commit de248241a3778d5d3bd9e99c8bd35744ea4fb6f9 @jelmer committed May 8, 2009
Showing with 12 additions and 0 deletions.
  1. +1 −0 .bzrignore
  2. +6 −0 Makefile
  3. +5 −0 dulwich.cfg
View
1 .bzrignore
@@ -2,3 +2,4 @@ _trial_temp
build
MANIFEST
dist
+apidocs
View
6 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
View
5 dulwich.cfg
@@ -0,0 +1,5 @@
+packages: dulwich
+docformat: restructuredtext
+projectname: Dulwich
+projecturl: http://samba.org/~jelmer/dulwich/
+htmloutput: apidocs

0 comments on commit de24824

Please sign in to comment.