diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-10-11 23:54:52 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-10-11 23:54:52 +0300 |
commit | a38c2dcfe62bd49c360fbf30349a5b7f63ae587c (patch) | |
tree | a0adc5e2e72c1d252ea505cea89f8e9bfd5c807e /doc | |
parent | c95ab2c6f0c0a339d6141f533643de916d7195a6 (diff) |
Pydoc: Add index and genindex to main index
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 4 |
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")) |