summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2019-04-22 10:39:43 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2019-04-22 12:12:32 +0200
commit04946d4690ac2e0c59776e1d6087a93057ca84a8 (patch)
tree22682389a1dd4f21a5e82d8c3d92506687df286f
parent3df557d929a584e46f45ded256801e203cf67b9f (diff)
downloadbuildstream-04946d4690ac2e0c59776e1d6087a93057ca84a8.tar.gz
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.
-rw-r--r--doc/Makefile2
1 files changed, 1 insertions, 1 deletions
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