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:24:16 +0200
commit431e578bf1b80074bd0f0ca8559e998dad59d4c0 (patch)
treec5e1dc17c73709cd95c9d3f73b7ea80b1bf98e08
parent722601379f68ad2921204f24963755b2ecfc1744 (diff)
downloadbuildstream-431e578bf1b80074bd0f0ca8559e998dad59d4c0.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 7bc3cb363..6597cf81b 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