=bmesh= merge from trunk at r36529
[blender.git] / release / scripts / startup / bl_ui / space_info.py
index 1e3879ec3b7d30212d7d4a81c5a94ab1257bd5de..ad0d8eb171d1d70a98376b0a1ba684a9b14a1492 100644 (file)
@@ -363,7 +363,8 @@ class INFO_MT_help(bpy.types.Menu):
         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()