[Bf-docboard-svn] bf-manual: [7663] branches/blender-2.92-release/blender_docs: Remove: Version json file update url
Aaron Carlisle
noreply at blender.org
Mon Jan 25 19:47:35 CET 2021
Revision: 7663
https://developer.blender.org/rBM7663
Author: Blendify
Date: 2021-01-25 19:47:35 +0100 (Mon, 25 Jan 2021)
Log Message:
-----------
Remove: Version json file update url
This is related to changes to our DevOps pipeline
Modified Paths:
--------------
branches/blender-2.92-release/blender_docs/manual/conf.py
branches/blender-2.92-release/blender_docs/resources/theme/js/version_switch.js
Removed Paths:
-------------
branches/blender-2.92-release/blender_docs/resources/versions.json
Modified: branches/blender-2.92-release/blender_docs/manual/conf.py
===================================================================
--- branches/blender-2.92-release/blender_docs/manual/conf.py 2021-01-25 18:39:38 UTC (rev 7662)
+++ branches/blender-2.92-release/blender_docs/manual/conf.py 2021-01-25 18:47:35 UTC (rev 7663)
@@ -235,7 +235,7 @@
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
-html_extra_path = ["../resources/versions.json"]
+# html_extra_path = []
# If not None, a 'Last updated on:' timestamp is inserted at every page
# bottom, using the given strftime format.
Modified: branches/blender-2.92-release/blender_docs/resources/theme/js/version_switch.js
===================================================================
--- branches/blender-2.92-release/blender_docs/resources/theme/js/version_switch.js 2021-01-25 18:39:38 UTC (rev 7662)
+++ branches/blender-2.92-release/blender_docs/resources/theme/js/version_switch.js 2021-01-25 18:47:35 UTC (rev 7663)
@@ -1,6 +1,8 @@
(function() {//switch: v1.1
"use strict";
+var versionsFileUrl = "https://docs.blender.org/versions.json"
+
var all_versions = "";
var all_langs = {
"en": "English",
@@ -50,7 +52,7 @@
}
},
loadVL: function(that) {
- $.getJSON("https://docs.blender.org/manual/en/dev/versions.json", function(data) {
+ $.getJSON(versionsFileUrl, function(data) {
all_versions = data;
that.afterload();
return true;
Deleted: branches/blender-2.92-release/blender_docs/resources/versions.json
===================================================================
--- branches/blender-2.92-release/blender_docs/resources/versions.json 2021-01-25 18:39:38 UTC (rev 7662)
+++ branches/blender-2.92-release/blender_docs/resources/versions.json 2021-01-25 18:47:35 UTC (rev 7663)
@@ -1,10 +0,0 @@
-{
- "2.79": "2.79",
- "2.80": "2.80",
- "2.81": "2.81",
- "2.82": "2.82",
- "2.83": "2.83",
- "2.90": "2.90",
- "2.91": "2.91",
- "dev": "2.92 (develop)"
-}
More information about the Bf-docboard-svn
mailing list