From: Antonio Terceiro Date: Sat, 23 Apr 2022 12:23:43 +0000 (-0300) Subject: docs: port build system to newer pydoctor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dcd753cb795663a88fbe96a33e88dc8865fe835;p=tools%2Fgit-buildpackage.git docs: port build system to newer pydoctor According to https://pydoctor.readthedocs.io/en/latest/help.html, the command line and configuration parsing has changed in an incompatible way. These changes fix the documentation build for me, but are probably backwards-incompatible with older versions of pydoctor. --- diff --git a/.pydoctor.cfg b/.pydoctor.cfg deleted file mode 100644 index ede8e513..00000000 --- a/.pydoctor.cfg +++ /dev/null @@ -1,4 +0,0 @@ -projectname: git-buildpackage -projecturl: https://honk.sigxcpu.org/piki/projects/git-buildpackage/ -htmloutput: build/apidocs -packages: gbp,tests/doctests/ diff --git a/Makefile b/Makefile index c94fa6c2..618f1a18 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,6 @@ docs: apidocs: mkdir -p build - pydoctor -v --config=.pydoctor.cfg + pydoctor -v gbp tests/doctests/ .PHONY: docs diff --git a/pydoctor.ini b/pydoctor.ini new file mode 100644 index 00000000..a9bd0215 --- /dev/null +++ b/pydoctor.ini @@ -0,0 +1,4 @@ +[pydoctor] +project-name = git-buildpackage +project-url = https://honk.sigxcpu.org/piki/projects/git-buildpackage/ +html-output = build/apidocs