Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-09-03 13:21:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-03 13:21:40 +0400
commit52cefa4bc1104231cf6c6ef5b12124df135e2914 (patch)
tree8ab3a8e3578e73ef20cc1955e3e06786293a53a0 /release/scripts/ui/space_info.py
parentb0c4b1216d9f298d688f2bd7ad5336473664c900 (diff)
sphinx doc gen
- use 3 column lists for inherited props, funcs and for references to save on vertical space. - use the blender version string for the upload path and PDF name.
Diffstat (limited to 'release/scripts/ui/space_info.py')
-rw-r--r--release/scripts/ui/space_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py
index d8bd4177098..8d049e29e98 100644
--- a/release/scripts/ui/space_info.py
+++ b/release/scripts/ui/space_info.py
@@ -316,7 +316,7 @@ 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/250PythonDoc/contents.html'
+ 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("help.operator_cheat_sheet", icon='TEXT')
layout.separator()
layout.operator("anim.update_data_paths", text="FCurve/Driver 2.54 fix", icon='HELP')