[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36158] trunk/blender/release/scripts/ startup/bl_ui/space_info.py: fix for help menu docs linking to the wrong page, created a redirect so 2. 57 release doesn't get 404's.

Campbell Barton ideasman42 at gmail.com
Thu Apr 14 16:13:04 CEST 2011


Revision: 36158
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36158
Author:   campbellbarton
Date:     2011-04-14 14:13:04 +0000 (Thu, 14 Apr 2011)
Log Message:
-----------
fix for help menu docs linking to the wrong page, created a redirect so 2.57 release doesn't get 404's.

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/space_info.py

Modified: trunk/blender/release/scripts/startup/bl_ui/space_info.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_info.py	2011-04-14 13:46:47 UTC (rev 36157)
+++ trunk/blender/release/scripts/startup/bl_ui/space_info.py	2011-04-14 14:13:04 UTC (rev 36158)
@@ -361,7 +361,8 @@
         layout.separator()
         layout.operator("wm.url_open", text="Report a Bug", icon='URL').url = 'http://projects.blender.org/tracker/?atid=498&group_id=9&func=browse'
         layout.separator()
-        layout.operator("wm.url_open", text="Python API Reference", icon='URL').url = "http://www.blender.org/documentation/blender_python_api_%s/contents.html" % "_".join(str(v) for v in bpy.app.version)
+
+        layout.operator("wm.url_open", text="Python API Reference", icon='URL').url = bpy.types.WM_OT_doc_view._prefix
         layout.operator("help.operator_cheat_sheet", icon='TEXT')
         layout.operator("wm.sysinfo", icon='TEXT')
         layout.separator()




More information about the Bf-blender-cvs mailing list