From 7c48b6c84cbbeb76b9fea5f9bee70e833afc7b8e Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 11 Jul 2019 11:50:58 +0200 Subject: Fix for RC release step to also point at 'current' API doc link. RC's are supposed to be like "real" releases... --- release/scripts/startup/bl_operators/wm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index f2b885d0064..b68ef3da6da 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -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") -- cgit v1.2.3