diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2018-08-14 01:50:58 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2018-08-14 03:51:31 +0300 |
commit | d062c86ed003a9f1bd5a903cfeb11854eb5b3974 (patch) | |
tree | 500a015528ea52359dc16ef1c2345c2edf3b729a /doc | |
parent | d0acfba937b3816a555b2ded145f27930bd3c6dc (diff) |
PyDoc: Use captions for section headers
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/sphinx_doc_gen.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/doc/python_api/sphinx_doc_gen.py b/doc/python_api/sphinx_doc_gen.py index fe2279e9671..1be106ad6d6 100644 --- a/doc/python_api/sphinx_doc_gen.py +++ b/doc/python_api/sphinx_doc_gen.py @@ -1723,17 +1723,16 @@ def write_rst_contents(basepath): fw("\n") if not EXCLUDE_INFO_DOCS: - fw(title_string("Blender/Python Documentation", "=", double=True)) - fw(".. toctree::\n") - fw(" :maxdepth: 1\n\n") + fw(" :maxdepth: 1\n) + fw(" :caption: Blender/Python Documentation\n\n") for info, info_desc in INFO_DOCS: fw(" %s <%s>\n\n" % (info_desc, info)) fw("\n") - fw(title_string("Application Modules", "=", double=True)) fw(".. toctree::\n") - fw(" :maxdepth: 1\n\n") + fw(" :maxdepth: 1\n") + fw(" :caption: Application Modules\n") app_modules = ( "bpy.context", # note: not actually a module @@ -1755,9 +1754,9 @@ def write_rst_contents(basepath): if mod not in EXCLUDE_MODULES: fw(" %s\n\n" % mod) - fw(title_string("Standalone Modules", "=", double=True)) fw(".. toctree::\n") - fw(" :maxdepth: 1\n\n") + fw(" :maxdepth: 1\n") + fw(" :caption: Standalone Modules\n\n") standalone_modules = ( # submodules are added in parent page |