API Doc: point to blender2.7 new folder.
authorBastien Montagne <montagne29@wanadoo.fr>
Thu, 27 Dec 2018 22:02:20 +0000 (23:02 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Thu, 27 Dec 2018 22:02:52 +0000 (23:02 +0100)
master is now for 2.8. ;)

release/scripts/startup/bl_operators/wm.py
source/blender/windowmanager/intern/wm_operators.c

index cc40ca2cb669751789544b1f2d2163d1589e3e19..3fd4e45653f885f8092e0b99513e03d39c000794 100644 (file)
@@ -1041,7 +1041,7 @@ class WM_OT_doc_view(Operator):
     if bpy.app.version_cycle == "release":
         _prefix = ("https://docs.blender.org/api/current")
     else:
-        _prefix = ("https://docs.blender.org/api/master")
+        _prefix = ("https://docs.blender.org/api/blender2.7")
 
     def execute(self, context):
         url = _wm_doc_get_id(self.doc_id, do_url=True, url_prefix=self._prefix)
index ddb9db370542b791d9a521e15cfe72dd0e18d889..bc34f40aaa32976969a04c502b6241b68664a66c 100644 (file)
@@ -1519,7 +1519,7 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *UNUSED(ar
                             BLENDER_VERSION / 100, BLENDER_VERSION % 100);
        }
        else {
-               BLI_snprintf(url, sizeof(url), "https://docs.blender.org/api/master");
+               BLI_snprintf(url, sizeof(url), "https://docs.blender.org/api/blender2.7");
        }
        uiItemStringO(col, IFACE_("Python API Reference"), ICON_URL, "WM_OT_url_open", "url", url);
        uiItemL(col, "", ICON_NONE);