PYAPI: Fix mathutils doc structure
This commit is contained in:
@@ -1729,12 +1729,8 @@ def write_rst_contents(basepath):
|
||||
fw(" :maxdepth: 1\n\n")
|
||||
|
||||
standalone_modules = (
|
||||
# mathutils
|
||||
# mathutils, submodules are in own page
|
||||
"mathutils",
|
||||
"mathutils.geometry",
|
||||
"mathutils.bvhtree", "mathutils.kdtree",
|
||||
"mathutils.interpolate",
|
||||
"mathutils.noise",
|
||||
# misc
|
||||
"freestyle", "bgl", "blf",
|
||||
"gpu", "gpu.offscreen",
|
||||
|
@@ -38,18 +38,31 @@
|
||||
#endif
|
||||
|
||||
PyDoc_STRVAR(M_Mathutils_doc,
|
||||
"This module provides access to the math classes:\n"
|
||||
"This module provides access to math operations.\n"
|
||||
"\n"
|
||||
".. note::\n"
|
||||
"\n"
|
||||
" Classes, methods and attributes that accept vectors also accept other numeric sequences,\n"
|
||||
" such as tuples, lists."
|
||||
"\n\n"
|
||||
"Submodules:\n"
|
||||
"\n"
|
||||
".. toctree::\n"
|
||||
" :maxdepth: 1\n"
|
||||
"\n"
|
||||
" mathutils.geometry.rst\n"
|
||||
" mathutils.bvhtree.rst\n"
|
||||
" mathutils.kdtree.rst\n"
|
||||
" mathutils.interpolate.rst\n"
|
||||
" mathutils.noise.rst\n"
|
||||
"\n"
|
||||
"The :mod:`mathutils` module provides the following classes:\n"
|
||||
"\n"
|
||||
"- :class:`Color`,\n"
|
||||
"- :class:`Euler`,\n"
|
||||
"- :class:`Matrix`,\n"
|
||||
"- :class:`Quaternion`,\n"
|
||||
"- :class:`Vector`,\n"
|
||||
"\n"
|
||||
".. note::\n"
|
||||
"\n"
|
||||
" Classes, methods and attributes that accept vectors also accept other numeric sequences,\n"
|
||||
" such as tuples, lists."
|
||||
);
|
||||
static int mathutils_array_parse_fast(float *array,
|
||||
int size,
|
||||
|
Reference in New Issue
Block a user