Fix for RC release step to also point at 'current' API doc link.

RC's are supposed to be like "real" releases...
This commit is contained in:
Bastien Montagne
2019-07-11 11:50:58 +02:00
parent 3c4f6399d9
commit 7c48b6c84c

View File

@@ -1022,7 +1022,7 @@ class WM_OT_doc_view(Operator):
bl_label = "View Documentation"
doc_id: doc_id
if bpy.app.version_cycle == "release":
if bpy.app.version_cycle in {"release", "rc"}:
_prefix = ("https://docs.blender.org/api/current")
else:
_prefix = ("https://docs.blender.org/api/master")