From f727df6076241756a07aebdd495284203702dd1b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 12 May 2015 17:59:37 +1000 Subject: Doc: correct rst syntax also remove some API docs from example --- release/scripts/templates_py/ui_previews_custom_icon.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'release') diff --git a/release/scripts/templates_py/ui_previews_custom_icon.py b/release/scripts/templates_py/ui_previews_custom_icon.py index badc6614d40..6eb4ad2992e 100644 --- a/release/scripts/templates_py/ui_previews_custom_icon.py +++ b/release/scripts/templates_py/ui_previews_custom_icon.py @@ -56,13 +56,7 @@ def register(): my_icons_dir = os.path.join(os.path.dirname(__file__), "icons") # load a preview thumbnail of a file and store in the previews collection - pcoll.load( - # identifier - "my_icon", - # path to image - os.path.join(my_icons_dir, "icon-image.png"), - # file type to generate preview from. others are: MOVIE, FONT, BLEND - 'IMAGE') + pcoll.load("my_icon", os.path.join(my_icons_dir, "icon-image.png"), 'IMAGE') preview_collections["main"] = pcoll -- cgit v1.2.3