Skip to content

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
adikhoff committed Oct 13, 2024
1 parent 88bf65d commit 5119500
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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. |'),
Expand All @@ -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'),
Expand Down Expand Up @@ -203,7 +203,7 @@
('<span class="fa fa-book"> Read the Docs</span>', '<span class="fa fa-book"> Versions</span>'),
("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 <a href="https://readthedocs.org">Read the Docs', 'Hosted by <a href="https://cloudflare.com">CloudFlare'),
('<a href="https://docs.readthedocs.io/page/privacy-policy.html">Privacy Policy</a>', ''),
('G-dot', 'Godot'),
Expand Down

0 comments on commit 5119500

Please sign in to comment.