From 04946d4690ac2e0c59776e1d6087a93057ca84a8 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Mon, 22 Apr 2019 10:39:43 +0200 Subject: doc: Fix the build with Sphinx 2.0 Sphinx 1.7, released in February 2018 moved the sphinx.apidoc module to sphinx.ext.apidoc, with an alias and a deprecation warning in place so users know to port their code. The compatibility alias was removed in Sphinx 2.0, so we need to move to the new module name. Fortunately, since the new module name is more than a year old, this shouldn't break anything for anybody. --- doc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile b/doc/Makefile index b3e64830d..076f82dfc 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -13,7 +13,7 @@ # SPHINXOPTS = SPHINXBUILD = python3 -m sphinx -SPHINXAPIDOC = python3 -m sphinx.apidoc +SPHINXAPIDOC = python3 -m sphinx.ext.apidoc PAPER = BUILDDIR = build -- cgit v1.2.1