PyDoc: add bpy.app.icons to docs

This commit is contained in:
2018-09-13 19:21:08 +10:00
parent e8fa13b01e
commit aacdd28edd
2 changed files with 3 additions and 4 deletions

View File

@@ -1835,8 +1835,7 @@ def write_rst_importable_modules(basepath):
"bpy.app": "Application Data",
"bpy.app.handlers": "Application Handlers",
"bpy.app.translations": "Application Translations",
# TODO(campbell)
# "bpy.app.icons": "Application Icons",
"bpy.app.icons": "Application Icons",
"bpy.props": "Property Definitions",
"idprop.types": "ID Property Access",
"mathutils": "Math Types & Utilities",

View File

@@ -101,8 +101,8 @@ PyDoc_STRVAR(bpy_app_icons_new_triangles_from_file_doc,
"\n"
" Create a new icon from triangle geometry.\n"
"\n"
" :arg range: File path.\n"
" :type range: string.\n"
" :arg filename: File path.\n"
" :type filename: string.\n"
" :return: Unique icon value (pass to interface ``icon_value`` argument).\n"
" :rtype: int\n"
);