diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-02-22 19:17:09 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2017-02-22 19:19:30 +0300 |
commit | 99947e2943b5157de2ecba873e5c2d844f2b6911 (patch) | |
tree | b36618b87ccc9028e52acb3e62c732931892ff02 /release/scripts/startup/bl_operators/wm.py | |
parent | 75cc33fa20457695d33e90886e8802c28fd96c2a (diff) |
Use new api doc links
Differential Revision: https://developer.blender.org/D2522
Diffstat (limited to 'release/scripts/startup/bl_operators/wm.py')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index f5460d58d44..869070ed778 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -1008,11 +1008,9 @@ class WM_OT_doc_view(Operator): doc_id = doc_id if bpy.app.version_cycle == "release": - _prefix = ("https://www.blender.org/api/blender_python_api_%s%s_release" % - ("_".join(str(v) for v in bpy.app.version[:2]), bpy.app.version_char)) + _prefix = ("https://docs.blender.org/api/blender_python_api_current") else: - _prefix = ("https://www.blender.org/api/blender_python_api_%s" % - "_".join(str(v) for v in bpy.app.version)) + _prefix = ("https://docs.blender.org/api/blender_python_api_master") def execute(self, context): url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix) |