Use latest/version number for manual links

We want users to go to the current version for their current version 
when possible if not point to latest.

/dev should really only be for development related work. End users 
should not be browsing /dev unless they are reading about upcoming 
features ahead of time.
This commit is contained in:
Aaron Carlisle
2019-07-04 18:24:13 -04:00
parent 2740bdfff9
commit fdcfc263e9
6 changed files with 13 additions and 8 deletions

View File

@@ -68,11 +68,11 @@ def add_object_button(self, context):
icon='PLUGIN')
# This allows you to right click on a button and link to the manual
# This allows you to right click on a button and link to documentation
def add_object_manual_map():
url_manual_prefix = "https://docs.blender.org/manual/en/dev/"
url_manual_prefix = "https://docs.blender.org/manual/en/latest/"
url_manual_mapping = (
("bpy.ops.mesh.add_object", "editors/3dview/object"),
("bpy.ops.mesh.add_object", "scene_layout/object/types.html"),
)
return url_manual_prefix, url_manual_mapping