mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
docs: update to latest urls in sitemap (#651)
GitOrigin-RevId: 27f38544d9443f3605ca67f136c0af0c2180cf4c
This commit is contained in:
parent
281cb771ff
commit
47880ccdfa
@ -55,7 +55,7 @@ def on_finish_building(app, exception):
|
||||
|
||||
for link in indexObjs:
|
||||
url = ET.SubElement(root, "url")
|
||||
ET.SubElement(url, "loc").text = "https://" + base_domain + "/" + str(current_version) + "/" + link["url"]
|
||||
ET.SubElement(url, "loc").text = "https://" + base_domain + "/latest/" + link["url"]
|
||||
ET.SubElement(url, "changefreq").text = "daily"
|
||||
ET.SubElement(url, "priority").text = "1" if (current_version == latest_version) else "0.5"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user