PyAPI: Add toctree link on parent page of submodule
This commit is contained in:
parent
44fd84bcc3
commit
a96030b3da
@ -6,6 +6,13 @@ GPU functions (gpu)
|
|||||||
|
|
||||||
This module provides access to materials GLSL shaders.
|
This module provides access to materials GLSL shaders.
|
||||||
|
|
||||||
|
Submodules:
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
gpu.offscreen.rst
|
||||||
|
|
||||||
|
|
||||||
Intro
|
Intro
|
||||||
=====
|
=====
|
||||||
@ -24,7 +31,6 @@ and in the game engine.
|
|||||||
Constants
|
Constants
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
|
||||||
GLSL Data Type
|
GLSL Data Type
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
# 'bmesh_opdefines.c' in order to avoid having to add a lot of introspection
|
# 'bmesh_opdefines.c' in order to avoid having to add a lot of introspection
|
||||||
# data access into the api.
|
# 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...
|
# 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.
|
# 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")
|
fw(" :maxdepth: 1\n\n")
|
||||||
|
|
||||||
standalone_modules = (
|
standalone_modules = (
|
||||||
# mathutils, submodules are in own page
|
# submodules are added in parent page
|
||||||
"mathutils",
|
"mathutils", "freestyle", "bgl", "blf", "gpu",
|
||||||
# misc
|
"aud", "bpy_extras", "idprop.types", "bmesh",
|
||||||
"freestyle", "bgl", "blf",
|
|
||||||
"gpu", "gpu.offscreen",
|
|
||||||
"aud", "bpy_extras",
|
|
||||||
"idprop.types",
|
|
||||||
# bmesh, submodules are in own page
|
|
||||||
"bmesh",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for mod in standalone_modules:
|
for mod in standalone_modules:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user