diff --git a/migrate.py b/migrate.py index 4192d16e8cc2..2ea368ae0d34 100644 --- a/migrate.py +++ b/migrate.py @@ -136,6 +136,13 @@ # Mappings that should work on first migration mappings = [ + # These will have to change eventually. + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-stable.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-stable.zip'), + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-master.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-master.zip'), + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-3.6.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-3.6.zip'), + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-stable.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-stable.zip'), + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-master.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-master.zip'), + ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-3.6.zip>', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-3.6.zip'), # Table breakers ('| ``"Please include this when reporting the bug on: https://github.com/godotengine/godot/issues"`` |', '| ``"Please include this when reporting the bug on: https://github.com/redot-engine/godot/issues"``|'), ('https://github.com/godotengine/godot/pull/40364>`_ for more. |', 'https://github.com/redot-engine/redot/pull/40364>`_ for more. |'), @@ -155,13 +162,6 @@ ('https://raw.githubusercontent.com/godotengine/godot-docs', 'https://raw.githubusercontent.com/redot-engine/redot-docs'), ('https://github.com/godotengine/', 'https://github.com/redot-engine/'), ('https://chat.godotengine.org/', 'https://discord.gg/a53QyHJZ'), - # These will have to change eventually. - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-stable.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-stable.zip'), - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-master.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-master.zip'), - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-html-3.6.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-html-3.6.zip'), - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-stable.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-stable.zip'), - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-master.zip', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-master.zip'), - ('https://nightly.link/godotengine/godot-docs/workflows/build_offline_docs/master/godot-docs-epub-3.6.zip>', 'https://nightly.link/Redot-Engine/redot-docs/actions/runs/11314553244/redot-docs-epub-3.6.zip'), # Generic replacements ('GODOT_COPYRIGHT.txt', 'REDOT_COPYRIGHT.txt'), ('godotengine.org', 'redotengine.org'), @@ -203,7 +203,7 @@ (' Read the Docs', ' Versions'), ("const homeUrl = baseUrl.split('/latest/')[0] + '/stable/';", "const homeUrl = 'https://docs-stable.redotengine.org/';"), ('{% set listed_languages = ({"en":"#", "de":"#", "es":"#", "fr":"#"}).items() -%}', '{% set listed_languages = ({"en":"#"}).items() -%}'), - ('({"stable":"#", "latest":"#"})', '({"stable":"https://docs-stable.redotengine.org/", "latest":"https://docs-latest.redotengine.org/", "3.6":"https://docs-3.6.redotengine.org/"})'), + ('({"stable":"#", "latest":"#"})', '({"stable":"https://docs-stable.redotengine.org/", "latest":"https://docs-latest.redotengine.org/", "3.6":"https://docs-3-6.redotengine.org/"})'), ('Hosted by Read the Docs', 'Hosted by CloudFlare'), ('Privacy Policy', ''), ('G-dot', 'Godot'),