PyDoc: resolve duplicate module warnings
Remove submodule listings from the module docstring, as this information already exists in the generator.
This commit is contained in:
@@ -106,19 +106,8 @@ success:
|
||||
* \{ */
|
||||
|
||||
PyDoc_STRVAR(GPU_doc,
|
||||
"This module provides Python wrappers for the GPU implementation in Blender. "
|
||||
"Some higher level functions can be found in the `gpu_extras` module. "
|
||||
"\n\n"
|
||||
"Submodules:\n"
|
||||
"\n"
|
||||
".. toctree::\n"
|
||||
" :maxdepth: 1\n"
|
||||
"\n"
|
||||
" gpu.types.rst\n"
|
||||
" gpu.shader.rst\n"
|
||||
" gpu.matrix.rst\n"
|
||||
" gpu.select.rst\n"
|
||||
"\n");
|
||||
"This module provides Python wrappers for the GPU implementation in Blender.\n"
|
||||
"Some higher level functions can be found in the `gpu_extras` module.");
|
||||
static struct PyModuleDef GPU_module_def = {
|
||||
PyModuleDef_HEAD_INIT,
|
||||
.m_name = "gpu",
|
||||
|
||||
@@ -126,17 +126,7 @@ static PyStructSequence_Field app_info_fields[] = {
|
||||
};
|
||||
|
||||
PyDoc_STRVAR(bpy_app_doc,
|
||||
"This module contains application values that remain unchanged during runtime.\n"
|
||||
"\n"
|
||||
"Submodules:\n"
|
||||
"\n"
|
||||
".. toctree::\n"
|
||||
" :maxdepth: 1\n"
|
||||
"\n"
|
||||
" bpy.app.handlers.rst\n"
|
||||
" bpy.app.icons.rst\n"
|
||||
" bpy.app.timers.rst\n"
|
||||
" bpy.app.translations.rst\n");
|
||||
"This module contains application values that remain unchanged during runtime.");
|
||||
|
||||
static PyStructSequence_Desc app_info_desc = {
|
||||
"bpy.app", /* name */
|
||||
|
||||
@@ -39,18 +39,7 @@ PyDoc_STRVAR(
|
||||
".. 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"
|
||||
" such as tuples, lists.\n"
|
||||
"\n"
|
||||
"The :mod:`mathutils` module provides the following classes:\n"
|
||||
"\n"
|
||||
|
||||
Reference in New Issue
Block a user