diff --git a/doc/sphinx/_static/js/get_options.js b/doc/sphinx/_static/js/get_options.js index 4e79921b4066..46ac0f0df866 100644 --- a/doc/sphinx/_static/js/get_options.js +++ b/doc/sphinx/_static/js/get_options.js @@ -23,11 +23,11 @@ function currentPackage(){ function httpGetAsync(targetUrl, callback) { var xmlHttp = new XMLHttpRequest(); - xmlHttp.onreadystatechange = function() { + xmlHttp.onreadystatechange = function() { if (xmlHttp.readyState == 4 && xmlHttp.status == 200) callback(xmlHttp.responseText); } - xmlHttp.open("GET", targetUrl, true); // true for asynchronous + xmlHttp.open("GET", targetUrl, true); // true for asynchronous xmlHttp.send(null); } @@ -45,8 +45,8 @@ function hideSelectors(selectors){ function populateOptions(optionSelector, otherSelectors){ if(currentPackage()){ - var versionRequestUrl = "https://azuresdkdocs.blob.core.windows.net/$web/" + SELECTED_LANGUAGE + "/" + currentPackage() + "/versioning/versions" - + var versionRequestUrl = "https://azuresdkdocs.z19.web.core.windows.net/" + SELECTED_LANGUAGE + "/" + currentPackage() + "/versioning/versions" + httpGetAsync(versionRequestUrl, function(responseText){ if(responseText){ options = responseText.match(/[^\r\n]+/g) @@ -68,7 +68,7 @@ function populateOptions(optionSelector, otherSelectors){ function populateVersionDropDown(selector, values){ var select = $(selector) - + $('option', select).remove() $.each(values, function(index, text) { @@ -80,17 +80,17 @@ function populateVersionDropDown(selector, values){ select.selectedIndex = 0 } else { - select.val(version) + select.val(version) } } function getPackageUrl(language, package, version){ - return "https://azuresdkdocs.blob.core.windows.net/$web/" + language + "/" + package + "/"+ version + "/index.html" + return "https://azuresdkdocs.z19.web.core.windows.net/" + language + "/" + package + "/"+ version + "/index.html" } function populateIndexList(selector, packageName) { - url = "https://azuresdkdocs.blob.core.windows.net/$web/" + SELECTED_LANGUAGE + "/" + packageName + "/versioning/versions" + url = "https://azuresdkdocs.z19.web.windows.net/" + SELECTED_LANGUAGE + "/" + packageName + "/versioning/versions" httpGetAsync(url, function (responseText){ if(responseText){ diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py index f0d6ce555521..f2feed4d3c96 100644 --- a/doc/sphinx/conf.py +++ b/doc/sphinx/conf.py @@ -66,8 +66,8 @@ 'trio': ('https://trio.readthedocs.io/en/stable/', None), 'msal': ('https://msal-python.readthedocs.io/en/latest/', None), # Azure packages - 'azure-core': ('https://azuresdkdocs.blob.core.windows.net/$web/python/azure-core/latest/', None), - 'azure-identity': ('https://azuresdkdocs.blob.core.windows.net/$web/python/azure-identity/latest/', None), + 'azure-core': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-core/latest/', None), + 'azure-identity': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-identity/latest/', None), } autodoc_member_order = 'groupwise' diff --git a/doc/sphinx/individual_build_conf.py b/doc/sphinx/individual_build_conf.py index a289c668e3ed..74df67599c51 100644 --- a/doc/sphinx/individual_build_conf.py +++ b/doc/sphinx/individual_build_conf.py @@ -64,8 +64,8 @@ 'trio': ('https://trio.readthedocs.io/en/stable/', None), 'msal': ('https://msal-python.readthedocs.io/en/latest/', None), # Azure packages - 'azure-core': ('https://azuresdkdocs.blob.core.windows.net/$web/python/azure-core/1.0.0/', None), - 'azure-identity': ('https://azuresdkdocs.blob.core.windows.net/$web/python/azure-identity/1.0.0/', None), + 'azure-core': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-core/1.0.0/', None), + 'azure-identity': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-identity/1.0.0/', None), } autodoc_member_order = 'groupwise'