[Bf-blender-cvs] [bda210d74ae] blender-v3.1-release: Py Docs: Fix json URL

Aaron Carlisle noreply at git.blender.org
Thu Feb 3 21:06:17 CET 2022


Commit: bda210d74ae800e38b3d4bb99889a3a528da1a12
Author: Aaron Carlisle
Date:   Thu Feb 3 15:06:11 2022 -0500
Branches: blender-v3.1-release
https://developer.blender.org/rBbda210d74ae800e38b3d4bb99889a3a528da1a12

Py Docs: Fix json URL

In the future when we have a docs staging area it will be
important to change where this JSON is pulled from.
For now, always pull from the "Production" versions

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

M	doc/python_api/static/js/version_switch.js

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

diff --git a/doc/python_api/static/js/version_switch.js b/doc/python_api/static/js/version_switch.js
index 88468b163e4..7d9c449d2e3 100644
--- a/doc/python_api/static/js/version_switch.js
+++ b/doc/python_api/static/js/version_switch.js
@@ -1,7 +1,7 @@
 (function() {  // switch: v1.2
 "use strict";
 
-var versionsFileUrl = "https://docs.blender.org/versions.json"
+var versionsFileUrl = "https://docs.blender.org/PROD/versions.json"
 
 var all_versions;



More information about the Bf-blender-cvs mailing list