From d08d01a53a6ec8414c7decdd89075a4d5de5ba45 Mon Sep 17 00:00:00 2001 From: Arjan Dikhoff Date: Fri, 25 Oct 2024 22:43:04 +0200 Subject: [PATCH] Relative urls --- migrate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrate.py b/migrate.py index 70b3746cc4be..539c16f3827c 100644 --- a/migrate.py +++ b/migrate.py @@ -203,9 +203,9 @@ ('MadeWithGodot', 'MadeWithRedot'), (' if on_rtd else "(DEV) "', ''), (' Read the Docs', ' Versions'), - ("const homeUrl = baseUrl.split('/latest/')[0] + '/stable/';", "const homeUrl = 'https://docs.redotengine.org/en/stable';"), + ("const homeUrl = baseUrl.split('/latest/')[0] + '/stable/';", "const homeUrl = '/en/stable';"), ('{% set listed_languages = ({"en":"#", "de":"#", "es":"#", "fr":"#"}).items() -%}', '{% set listed_languages = ({"en":"#"}).items() -%}'), - ('({"stable":"#", "latest":"#"})', '({"stable":"https://docs.redotengine.org/en/stable", "latest":"https://docs.redotengine.org/en/latest", "3.6":"https://docs.redotengine.org/en/3.6"})'), + ('({"stable":"#", "latest":"#"})', '({"stable":"/en/stable", "latest":"/en/latest", "3.6":"/en/3.6"})'), ('Hosted by Read the Docs', 'Hosted by CloudFlare'), ('Privacy Policy', ''), ('G-dot', 'Godot'),