[Bf-blender-cvs] [7c48b6c84cb] master: Fix for RC release step to also point at 'current' API doc link.

Bastien Montagne noreply at git.blender.org
Thu Jul 11 12:13:21 CEST 2019


Commit: 7c48b6c84cbbeb76b9fea5f9bee70e833afc7b8e
Author: Bastien Montagne
Date:   Thu Jul 11 11:50:58 2019 +0200
Branches: master
https://developer.blender.org/rB7c48b6c84cbbeb76b9fea5f9bee70e833afc7b8e

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

RC's are supposed to be like "real" releases...

===================================================================

M	release/scripts/startup/bl_operators/wm.py

===================================================================

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")



More information about the Bf-blender-cvs mailing list