From a38c2dcfe62bd49c360fbf30349a5b7f63ae587c Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Sun, 11 Oct 2020 16:54:52 -0400 Subject: Pydoc: Add index and genindex to main index --- doc/python_api/sphinx_doc_gen.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to '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 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")) -- cgit v1.2.3