Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-10-11 23:54:52 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-10-11 23:54:52 +0300
commita38c2dcfe62bd49c360fbf30349a5b7f63ae587c (patch)
treea0adc5e2e72c1d252ea505cea89f8e9bfd5c807e /doc
parentc95ab2c6f0c0a339d6141f533643de916d7195a6 (diff)
Pydoc: Add index and genindex to main index
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/sphinx_doc_gen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py
index 58c399fa484..53d76af4a37 100644
--- a/doc/python_api/sphinx_doc_gen.py
+++ b/doc/python_api/sphinx_doc_gen.py
@@ -1838,6 +1838,10 @@ def write_rst_contents(basepath):
fw(" %s\n" % mod)
fw("\n")
+ fw(title_string("Indices", "="))
+ fw("* :ref:`genindex`\n")
+ fw("* :ref:`modindex`\n\n")
+
# special case, this 'bmesh.ops.rst' is extracted from C source
if "bmesh.ops" not in EXCLUDE_MODULES:
execfile(os.path.join(SCRIPT_DIR, "rst_from_bmesh_opdefines.py"))