From 36691cef30ed78f6605abf6fb4a2c03e45be00ff Mon Sep 17 00:00:00 2001 From: TheTechnician27 Date: Sat, 27 Jul 2024 08:17:24 -0500 Subject: [PATCH] Redirects: Create pcsx2.net/discord --- config.yaml | 4 ++-- docs/index.md | 2 +- docs/troubleshooting/identify.md | 2 +- docusaurus.config.js | 4 ++-- redirects.js | 4 ++++ 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/config.yaml b/config.yaml index ba1e0f3b..be03371f 100644 --- a/config.yaml +++ b/config.yaml @@ -46,7 +46,7 @@ params: - name: Discord icon: fab fa-discord weight: 1 - url: "https://discord.com/invite/TCz3t9k" + url: "https://pcsx2.net/discord" - name: Github icon: fab fa-github weight: 2 @@ -130,7 +130,7 @@ languages: # url: /about # - name: Discord # weight: 6 - # url: 'https://discord.com/invite/TCz3t9k' + # url: 'https://pcsx2.net/discord' # pre: fa fa-discord # - name: Github # weight: 7 diff --git a/docs/index.md b/docs/index.md index c5fb840f..c80862da 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,4 +6,4 @@ sidebar_position: 1 Here you will find various documentation related to the PCSX2 project, intended for both general user and technical audiences. -If this article does not help solve your problem, reach out in the [Discord](https://discord.com/invite/TCz3t9k) channel or the [forum](https://forums.pcsx2.net/). +If this article does not help solve your problem, reach out in the [Discord](https://pcsx2.net/discord) channel or the [forum](https://forums.pcsx2.net/). diff --git a/docs/troubleshooting/identify.md b/docs/troubleshooting/identify.md index 60e02251..97ae960c 100644 --- a/docs/troubleshooting/identify.md +++ b/docs/troubleshooting/identify.md @@ -73,4 +73,4 @@ It helps to write down the PCSX2 versions you're testing as you go, and note whe ## Reach out for help -After you've collected all the report materials, consider reaching out in either the respective [Discord](https://discord.com/invite/TCz3t9k) channel or the [forum](https://forums.pcsx2.net/) for further assistance. +After you've collected all the report materials, consider reaching out in either the respective [Discord](https://www.pcsx2.net/discord) channel or the [forum](https://forums.pcsx2.net/) for further assistance. diff --git a/docusaurus.config.js b/docusaurus.config.js index 3c2f5249..9e42d531 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -186,7 +186,7 @@ const config = { }, { to: "https://wiki.pcsx2.net/", label: "Wiki", position: "right" }, { - href: "https://discord.com/invite/TCz3t9k", + href: "https://pcsx2.net/discord", position: "right", className: "header-discord-link", "aria-label": "Discord", @@ -279,7 +279,7 @@ const config = { items: [ { label: "Discord", - href: "https://discord.com/invite/TCz3t9k", + href: "https://pcsx2.net/discord", }, { label: "Forums", diff --git a/redirects.js b/redirects.js index 6ec727b9..8dacc905 100644 --- a/redirects.js +++ b/redirects.js @@ -8,6 +8,10 @@ const redirects = [ "/download/releases/tools", ], }, + { + to: "https://discord.com/invite/TCz3t9k", + from: "/discord", + } { to: "/blog/2021/aethersx2-brings-pcsx2-to-mobile", from: "/301-aethersx2-pcsx2-mobile",