Commit 05270611 authored by Guido Günther's avatar Guido Günther

Configure epydoc via setup.cfg

parent b484a97e
......@@ -9,7 +9,6 @@ docs/manual-html/
docs/manpage.links
docs/manpage.refs
docs/version.ent
docs/apidocs/
debian/git-buildpackage.*.debhelper
debian/git-buildpackage.debhelper.*
......
README
docs/manual-html/
docs/apidocs/
build/apidocs/
......@@ -47,9 +47,7 @@ docs/git-pbuilder.1: bin/git-pbuilder
pod2man $< $@
apidocs:
epydoc -v -n git-buildpackage --no-sourcecode -o docs/apidocs/ \
--url=https://honk.sigxcpu.org/piki/projects/git-buildpackage/ \
--fail-on-docstring-warning gbp/ tests/test_Git*.py
epydoc --config=setup.cfg
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
pychecker:
......@@ -77,6 +75,6 @@ binary-post-install/git-buildpackage::
clean::
-rm git_*.py gbp_*.py gbp/gbp_version.py links_stamp
-rm docs/*.1 docs/manpage.* $(VERSION_ENT) git-pbuilder.1
-rm -r docs/manual-html/ docs/apidocs/
-rm -r docs/manual-html/
.PHONY: checks
......@@ -2,3 +2,11 @@
with-doctest=1
with-coverage=1
cover-package=gbp
[epydoc]
name = git-buildpackage
sourcecode = no
url = https://honk.sigxcpu.org/piki/projects/git-buildpackage/
target = build/apidocs/
fail-on = docstring_warning
modules = gbp, tests/test_Git*.py
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment