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:
parent
2740bdfff9
commit
fdcfc263e9
Notes:
blender-bot
2023-02-14 10:37:49 +01:00
Referenced by issue #66730, Blender 2.8 not detecting GPU Referenced by issue #66584, Collada: Preview on Mac shows issues with transparency
|
@ -22,7 +22,7 @@ bl_info = {
|
|||
"blender": (2, 80, 0),
|
||||
"description": "Cycles renderer integration",
|
||||
"warning": "",
|
||||
"wiki_url": "https://docs.blender.org/manual/en/dev/render/cycles/",
|
||||
"wiki_url": "https://docs.blender.org/manual/en/latest/render/cycles/",
|
||||
"tracker_url": "",
|
||||
"support": 'OFFICIAL',
|
||||
"category": "Render"}
|
||||
|
|
|
@ -199,7 +199,7 @@ class CUDADevice : public Device {
|
|||
fprintf(stderr,
|
||||
"\nRefer to the Cycles GPU rendering documentation for possible solutions:\n");
|
||||
fprintf(stderr,
|
||||
"https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html\n\n");
|
||||
"https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html\n\n");
|
||||
first_error = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
# <pep8 compliant>
|
||||
|
||||
# for full docs see...
|
||||
# https://docs.blender.org/manual/en/dev/editors/uv_image/uv/editing/unwrapping/mapping_types.html#follow-active-quads
|
||||
# https://docs.blender.org/manual/en/latest/editors/uv_image/uv/editing/unwrapping/mapping_types.html#follow-active-quads
|
||||
|
||||
import bpy
|
||||
from bpy.types import Operator
|
||||
|
|
|
@ -1753,12 +1753,17 @@ class WM_MT_splash(Menu):
|
|||
if found_recent:
|
||||
col2_title.label(text="Recent Files")
|
||||
else:
|
||||
if bpy.app.version_cycle in {'rc', 'release'}:
|
||||
manual_version = '%d.%d' % bpy.app.version[:2]
|
||||
else:
|
||||
manual_version = 'dev'
|
||||
|
||||
# Links if no recent files
|
||||
col2_title.label(text="Getting Started")
|
||||
|
||||
col2.operator(
|
||||
"wm.url_open", text="Manual", icon='URL'
|
||||
).url = "https://docs.blender.org/manual/en/dev/"
|
||||
).url = "https://docs.blender.org/manual/en/" + manual_version + "/"
|
||||
col2.operator(
|
||||
"wm.url_open", text="Release Notes", icon='URL',
|
||||
).url = "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ Release Notes <a href="https://wiki.blender.org/wiki/Reference/Release_Notes/BLE
|
|||
<span class="s4">wiki.blender.org/wiki/Reference/Release_Notes/BLENDER_VERSION</span></a><br>
|
||||
Tutorials <a href="http://www.blender.org/support/tutorials/">
|
||||
<span class="s4">www.blender.org/support/tutorials/</span></a> <br>
|
||||
Manual <a href="https://docs.blender.org/manual/en/dev/"><span class="s4">https://docs.blender.org/manual/en/dev/</span></a><br>
|
||||
Manual <a href="https://docs.blender.org/manual/en/latest/"><span class="s4">https://docs.blender.org/manual/en/latest/</span></a><br>
|
||||
User Forum <a href="http://www.blenderartists.org/">
|
||||
<span class="s4">www.blenderartists.org</span></a><br>
|
||||
IRC <a href="irc://irc.freenode.net/#blenderchat">
|
||||
|
|
Loading…
Reference in New Issue