diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-02 15:27:28 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-02 15:27:28 -0300 |
commit | 889cf65e79d0c8b891eca5ea4f4b3051f1af9f54 (patch) | |
tree | 0f905bc30609459631ae8284d2590469ce58f516 | |
parent | df7f0289851ac6c9cb106e5dbd62dc3fbbf113aa (diff) |
Use pydoctor to generate apidocs
-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 '# ' |