PyAPI: Add toctree link on parent page of submodule
This commit is contained in:
parent
44fd84bcc3
commit
a96030b3da
Notes:
blender-bot
2023-02-14 07:18:54 +01:00
Referenced by issue #51820, Alembic sequence Crash
|
@ -6,6 +6,13 @@ GPU functions (gpu)
|
|||
|
||||
This module provides access to materials GLSL shaders.
|
||||
|
||||
Submodules:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
gpu.offscreen.rst
|
||||
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
@ -24,7 +31,6 @@ and in the game engine.
|
|||
Constants
|
||||
=========
|
||||
|
||||
|
||||
GLSL Data Type
|
||||
--------------
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# 'bmesh_opdefines.c' in order to avoid having to add a lot of introspection
|
||||
# data access into the api.
|
||||
#
|
||||
# The script is stupid becase it makes assumptions about formatting...
|
||||
# The script is stupid because it makes assumptions about formatting...
|
||||
# that each arg has its own line, that comments above or directly after will be __doc__ etc...
|
||||
#
|
||||
# We may want to replace this script with something else one day but for now its good enough.
|
||||
|
|
|
@ -1729,15 +1729,9 @@ def write_rst_contents(basepath):
|
|||
fw(" :maxdepth: 1\n\n")
|
||||
|
||||
standalone_modules = (
|
||||
# mathutils, submodules are in own page
|
||||
"mathutils",
|
||||
# misc
|
||||
"freestyle", "bgl", "blf",
|
||||
"gpu", "gpu.offscreen",
|
||||
"aud", "bpy_extras",
|
||||
"idprop.types",
|
||||
# bmesh, submodules are in own page
|
||||
"bmesh",
|
||||
# submodules are added in parent page
|
||||
"mathutils", "freestyle", "bgl", "blf", "gpu",
|
||||
"aud", "bpy_extras", "idprop.types", "bmesh",
|
||||
)
|
||||
|
||||
for mod in standalone_modules:
|
||||
|
|
Loading…
Reference in New Issue