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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2019-07-05 01:24:13 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2019-07-05 01:24:36 +0300
commitfdcfc263e97324dd991b7251143e6403c61f3c50 (patch)
tree63ae0a8cc9b29a23e2501c26dd2ad1e5c8f49ceb /release/scripts/templates_py
parent2740bdfff9f38807301fb3ee4d6a4949d8d8bb20 (diff)
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.
Diffstat (limited to 'release/scripts/templates_py')
-rw-r--r--release/scripts/templates_py/addon_add_object.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/templates_py/addon_add_object.py b/release/scripts/templates_py/addon_add_object.py
index 6e51149e451..47997069cbb 100644
--- a/release/scripts/templates_py/addon_add_object.py
+++ b/release/scripts/templates_py/addon_add_object.py
@@ -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