From 1939963a0652870813024c063513b79ddcfa7107 Mon Sep 17 00:00:00 2001 From: Luke Horwell Date: Sun, 29 Dec 2024 14:57:00 +0000 Subject: [PATCH] Move meta redirects to file Cloudflare Pages will use this: https://developers.cloudflare.com/pages/configuration/redirects/ --- redirects | 18 ++++++++++++++++++ redirects/about.md | 6 ------ redirects/docs/dependencies.md | 6 ------ redirects/docs/device-support.md | 6 ------ redirects/docs/devicemaps.md | 6 ------ redirects/docs/distros.md | 6 ------ redirects/docs/docs.md | 6 ------ redirects/docs/faqs.md | 6 ------ redirects/docs/history.md | 6 ------ redirects/docs/license.md | 6 ------ redirects/docs/roadmap.md | 6 ------ redirects/docs/translations.md | 6 ------ redirects/old/dependencies.md | 6 ------ redirects/permalinks/bugs.md | 6 ------ redirects/permalinks/donate.md | 6 ------ redirects/permalinks/keymapping.md | 6 ------ redirects/permalinks/latest.md | 6 ------ redirects/permalinks/src.md | 6 ------ 18 files changed, 18 insertions(+), 102 deletions(-) create mode 100644 redirects delete mode 100644 redirects/about.md delete mode 100644 redirects/docs/dependencies.md delete mode 100644 redirects/docs/device-support.md delete mode 100644 redirects/docs/devicemaps.md delete mode 100644 redirects/docs/distros.md delete mode 100644 redirects/docs/docs.md delete mode 100644 redirects/docs/faqs.md delete mode 100644 redirects/docs/history.md delete mode 100644 redirects/docs/license.md delete mode 100644 redirects/docs/roadmap.md delete mode 100644 redirects/docs/translations.md delete mode 100644 redirects/old/dependencies.md delete mode 100644 redirects/permalinks/bugs.md delete mode 100644 redirects/permalinks/donate.md delete mode 100644 redirects/permalinks/keymapping.md delete mode 100644 redirects/permalinks/latest.md delete mode 100644 redirects/permalinks/src.md diff --git a/redirects b/redirects new file mode 100644 index 0000000..f7a90d6 --- /dev/null +++ b/redirects @@ -0,0 +1,18 @@ +--- +permalink: /_redirects +--- +# Moved pages +/about* /features/ + +# Removed pages +/download/manual/ https://github.com/polychromatic/polychromatic/blob/master/DEVELOPMENT.md + +# Docs moved to subdomain in 2021 +/docs/* https://docs.polychromatic.app/:splat + +# Permalinks +/permalink/bugs/ https://github.com/polychromatic/polychromatic/issues +/permalink/donate/ https://www.paypal.me/LukeHorwell +/permalink/keymapping/ https://docs.polychromatic.app/faqs/#can-i-remap-keys +/permalink/latest/ https://github.com/polychromatic/polychromatic/releases/latest +/permalink/src/ https://github.com/polychromatic/polychromatic diff --git a/redirects/about.md b/redirects/about.md deleted file mode 100644 index 2f491b7..0000000 --- a/redirects/about.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /about/ -redirect: /features/ -sitemap: false ---- diff --git a/redirects/docs/dependencies.md b/redirects/docs/dependencies.md deleted file mode 100644 index 0677caa..0000000 --- a/redirects/docs/dependencies.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/dependencies/ -redirect: https://docs.polychromatic.app/dependencies/ -sitemap: false ---- diff --git a/redirects/docs/device-support.md b/redirects/docs/device-support.md deleted file mode 100644 index 0e80047..0000000 --- a/redirects/docs/device-support.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/device-support/ -redirect: https://docs.polychromatic.app/device-support/ -sitemap: false ---- diff --git a/redirects/docs/devicemaps.md b/redirects/docs/devicemaps.md deleted file mode 100644 index 9b78ded..0000000 --- a/redirects/docs/devicemaps.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/devicemaps/ -redirect: https://docs.polychromatic.app/devicemaps/ -sitemap: false ---- diff --git a/redirects/docs/distros.md b/redirects/docs/distros.md deleted file mode 100644 index 39867c4..0000000 --- a/redirects/docs/distros.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/distros/ -redirect: https://docs.polychromatic.app/distros/ -sitemap: false ---- diff --git a/redirects/docs/docs.md b/redirects/docs/docs.md deleted file mode 100644 index b9988d6..0000000 --- a/redirects/docs/docs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/ -redirect: https://docs.polychromatic.app/ -sitemap: false ---- diff --git a/redirects/docs/faqs.md b/redirects/docs/faqs.md deleted file mode 100644 index 9b33585..0000000 --- a/redirects/docs/faqs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/faqs/ -redirect: https://docs.polychromatic.app/faqs/ -sitemap: false ---- diff --git a/redirects/docs/history.md b/redirects/docs/history.md deleted file mode 100644 index ffa882a..0000000 --- a/redirects/docs/history.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/history/ -redirect: https://docs.polychromatic.app/history/ -sitemap: false ---- diff --git a/redirects/docs/license.md b/redirects/docs/license.md deleted file mode 100644 index 958b5f6..0000000 --- a/redirects/docs/license.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/license/ -redirect: https://docs.polychromatic.app/license/ -sitemap: false ---- diff --git a/redirects/docs/roadmap.md b/redirects/docs/roadmap.md deleted file mode 100644 index 176e46f..0000000 --- a/redirects/docs/roadmap.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/roadmap/ -redirect: https://docs.polychromatic.app/roadmap/ -sitemap: false ---- diff --git a/redirects/docs/translations.md b/redirects/docs/translations.md deleted file mode 100644 index 6525f69..0000000 --- a/redirects/docs/translations.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /docs/translations/ -redirect: https://docs.polychromatic.app/translations/ -sitemap: false ---- diff --git a/redirects/old/dependencies.md b/redirects/old/dependencies.md deleted file mode 100644 index 06f85c2..0000000 --- a/redirects/old/dependencies.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /download/manual/ -redirect: https://github.com/polychromatic/polychromatic/#building -sitemap: false ---- diff --git a/redirects/permalinks/bugs.md b/redirects/permalinks/bugs.md deleted file mode 100644 index 0df441b..0000000 --- a/redirects/permalinks/bugs.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /permalink/bugs/ -redirect: https://github.com/polychromatic/polychromatic/issues -sitemap: false ---- diff --git a/redirects/permalinks/donate.md b/redirects/permalinks/donate.md deleted file mode 100644 index ab86d31..0000000 --- a/redirects/permalinks/donate.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /permalink/donate/ -redirect: https://docs.polychromatic.app/faqs/#how-can-i-send-some-ka-ching -sitemap: false ---- diff --git a/redirects/permalinks/keymapping.md b/redirects/permalinks/keymapping.md deleted file mode 100644 index 7abcf4d..0000000 --- a/redirects/permalinks/keymapping.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /permalink/keymapping/ -redirect: https://docs.polychromatic.app/faqs/#can-i-remap-keys -sitemap: false ---- diff --git a/redirects/permalinks/latest.md b/redirects/permalinks/latest.md deleted file mode 100644 index ed795b8..0000000 --- a/redirects/permalinks/latest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /permalink/latest/ -redirect: https://github.com/polychromatic/polychromatic/releases/latest -sitemap: false ---- diff --git a/redirects/permalinks/src.md b/redirects/permalinks/src.md deleted file mode 100644 index 262c55a..0000000 --- a/redirects/permalinks/src.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: redirect -permalink: /permalink/src/ -redirect: https://github.com/polychromatic/polychromatic -sitemap: false ----