summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@debian.org>2022-04-23 09:23:43 -0300
committerGuido Günther <agx@sigxcpu.org>2022-04-23 15:47:31 +0200
commit5dcd753cb795663a88fbe96a33e88dc8865fe835 (patch)
treee3662afb146655754b20972cc64e7d52eee373fc
parent40b96935c1ac0727fa670636f86e36d8c2d76c74 (diff)
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.
-rw-r--r--.pydoctor.cfg4
-rw-r--r--Makefile2
-rw-r--r--pydoctor.ini4
3 files changed, 5 insertions, 5 deletions
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