diff options
-rw-r--r-- | .pydoctor.cfg | 4 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | debian/control | 1 | ||||
-rw-r--r-- | setup.cfg | 8 |
4 files changed, 7 insertions, 9 deletions
diff --git a/.pydoctor.cfg b/.pydoctor.cfg new file mode 100644 index 00000000..ede8e513 --- /dev/null +++ b/.pydoctor.cfg @@ -0,0 +1,4 @@ +projectname: git-buildpackage +projecturl: https://honk.sigxcpu.org/piki/projects/git-buildpackage/ +htmloutput: build/apidocs +packages: gbp,tests/doctests/ @@ -21,9 +21,10 @@ syntax-check: docs: make -C docs + make apidocs apidocs: mkdir -p build - epydoc -v --config=setup.cfg + pydoctor -v --config=.pydoctor.cfg .PHONY: docs diff --git a/debian/control b/debian/control index b5ba10a3..8f3a2876 100644 --- a/debian/control +++ b/debian/control @@ -11,6 +11,7 @@ Build-Depends: gtk-doc-tools, libdistro-info-perl, perl, + python-pydoctor, python3 (>= 3.5), python3-coverage, python3-dateutil, @@ -5,14 +5,6 @@ cover-package=gbp cover-erase=1 exe=1 -[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_*.py - [flake8] # E501: ignore line length # E265: block comment should start with '# ' |