From b2af1432114113c9d6e6d09bf8b5fe824e8fe9da Mon Sep 17 00:00:00 2001 From: Praveen Durairaju Date: Fri, 31 Jul 2020 21:56:24 +0530 Subject: [PATCH] docs: fix docs sitemap link generation (#5498) --- docs/_ext/generate_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_ext/generate_index.py b/docs/_ext/generate_index.py index a4da5aa415b..beecefe274f 100644 --- a/docs/_ext/generate_index.py +++ b/docs/_ext/generate_index.py @@ -55,7 +55,7 @@ def on_finish_building(app, exception): for link in indexObjs: url = ET.SubElement(root, "url") - ET.SubElement(url, "loc").text = base_domain + str(current_version) + "/" + link["url"] + ET.SubElement(url, "loc").text = "https://" + base_domain + "/" + str(current_version) + "/" + link["url"] ET.SubElement(url, "changefreq").text = "daily" ET.SubElement(url, "priority").text = "1" if (current_version == latest_version) else "0.5"