[Bf-blender-cvs] [e3673fd8696] master: Fix building docs with sphinx 3.x
Campbell Barton
noreply at git.blender.org
Mon May 11 08:10:32 CEST 2020
Commit: e3673fd8696228237d23765c8256058b3b046be3
Author: Campbell Barton
Date: Mon May 11 16:09:56 2020 +1000
Branches: master
https://developer.blender.org/rBe3673fd8696228237d23765c8256058b3b046be3
Fix building docs with sphinx 3.x
===================================================================
M doc/python_api/sphinx_doc_gen.py
===================================================================
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index ee91bbc64b1..36ec0174d80 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1712,7 +1712,7 @@ class PatchedPythonDomain(PythonDomain):
fw("def setup(app):\n")
fw(" app.add_stylesheet('css/theme_overrides.css')\n")
- fw(" app.override_domain(PatchedPythonDomain)\n\n")
+ fw(" app.add_domain(PatchedPythonDomain, override=True)\n\n")
file.close()
More information about the Bf-blender-cvs
mailing list