Fix T59213: Application menu links to outdated version of Python API.

Somehow those links were forgotten when we renamed API doc to simpler
names last year...
This commit is contained in:
Bastien Montagne 2018-12-12 11:55:40 +01:00
parent e757c4a3be
commit 047d7d3b57
1 changed files with 2 additions and 2 deletions

View File

@ -1039,9 +1039,9 @@ class WM_OT_doc_view(Operator):
doc_id = doc_id
if bpy.app.version_cycle == "release":
_prefix = ("https://docs.blender.org/api/blender_python_api_current")
_prefix = ("https://docs.blender.org/api/current")
else:
_prefix = ("https://docs.blender.org/api/blender_python_api_master")
_prefix = ("https://docs.blender.org/api/master")
def execute(self, context):
url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix)