modification to api docs so release point to:
http://www.blender.org/documentation/blender_python_api_2_57b_release Development versions point to: http://www.blender.org/documentation/blender_python_api_2_57_0 This way updates to api docs after release wont overwrite release docs.
This commit is contained in:
@@ -596,7 +596,10 @@ class WM_OT_doc_view(bpy.types.Operator):
|
||||
bl_label = "View Documentation"
|
||||
|
||||
doc_id = doc_id
|
||||
_prefix = "http://www.blender.org/documentation/blender_python_api_%s" % "_".join(str(v) for v in bpy.app.version)
|
||||
if bpy.app.version_cycle == "release":
|
||||
_prefix = "http://www.blender.org/documentation/blender_python_api_%s%s_release" % ("_".join(str(v) for v in bpy.app.version[:2]), bpy.app.version_char)
|
||||
else:
|
||||
_prefix = "http://www.blender.org/documentation/blender_python_api_%s" % "_".join(str(v) for v in bpy.app.version)
|
||||
|
||||
def _nested_class_string(self, class_string):
|
||||
ls = []
|
||||
|
||||
Reference in New Issue
Block a user