PyDoc: add bpy.app.icons to docs
authorCampbell Barton <ideasman42@gmail.com>
Thu, 13 Sep 2018 09:21:08 +0000 (19:21 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 13 Sep 2018 09:21:08 +0000 (19:21 +1000)
doc/python_api/sphinx_doc_gen.py
source/blender/python/intern/bpy_app_icons.c

index 1a39ba0d02a3bc191e4f6c2ea50e221dd3ffb9f2..0a2fba4d8aac2a9f275809797d1c5ea43e816fd7 100644 (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",
index 19e369e4bffab597f044cfa60fdc06a6e161d6b6..12315a6e11254174aeedf42722562e6c4aaa06da 100644 (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"
 );