PyAPI: Proper Solution to bpy.app

This commit is contained in:
2017-06-15 00:54:41 -04:00
parent df7c609fda
commit 44fd84bcc3
2 changed files with 13 additions and 11 deletions

View File

@@ -119,9 +119,21 @@ static PyStructSequence_Field app_info_fields[] = {
{NULL},
};
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.translations.rst\n"
);
static PyStructSequence_Desc app_info_desc = {
(char *)"bpy.app", /* name */
(char *)"This module contains application values that remain unchanged during runtime.", /* doc */
bpy_app_doc, /* doc */
app_info_fields, /* fields */
ARRAY_SIZE(app_info_fields) - 1
};