From 14d4d5be2a288a1e7a43dfed01fe55e2f0e63a73 Mon Sep 17 00:00:00 2001 From: Odilon Hugonnot Date: Sun, 25 Oct 2026 10:51:41 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20retire=20les=20restes=20du=20mod=C3=A8le?= =?UTF-8?q?=20Docusaurus=20(#348)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - footer : « Tutorial » pointait vers /docs/intro (404 depuis que la page d'accueil est à la racine, cf. #154) → / - footer : retire « Stack Overflow » et « Twitter » (example.com) - supprime la page d'exemple src/pages/markdown-page.md (publiée et présente dans le sitemap) - traductions du footer (fr, ru, de) : retire les clés orphelines et le copyright du modèle (« My Project, Inc. ») ; sans clé, Docusaurus reprend le copyright de la config --- docusaurus.config.js | 10 +--------- i18n/DE/docusaurus-theme-classic/footer.json | 18 +++--------------- i18n/FR/docusaurus-theme-classic/footer.json | 18 +++--------------- i18n/RU/docusaurus-theme-classic/footer.json | 18 +++--------------- src/pages/markdown-page.md | 7 ------- 5 files changed, 10 insertions(+), 61 deletions(-) delete mode 100755 src/pages/markdown-page.md diff --git a/docusaurus.config.js b/docusaurus.config.js index 596fe835..83a3a713 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -86,25 +86,17 @@ const config = { items: [ { label: 'Tutorial', - to: '/docs/intro', + to: '/', }, ], }, { title: 'Community', items: [ - { - label: 'Stack Overflow', - href: 'https://example.com', - }, { label: 'Discord', href: 'https://discord.gg/tFcTpBp', }, - { - label: 'Twitter', - href: 'https://example.com', - }, ], }, { diff --git a/i18n/DE/docusaurus-theme-classic/footer.json b/i18n/DE/docusaurus-theme-classic/footer.json index 57c15f79..d75f36e9 100755 --- a/i18n/DE/docusaurus-theme-classic/footer.json +++ b/i18n/DE/docusaurus-theme-classic/footer.json @@ -13,26 +13,14 @@ }, "link.item.label.Tutorial": { "message": "Tutorial", - "description": "The label of footer link with label=Tutorial linking to /docs/intro" - }, - "link.item.label.Stack Overflow": { - "message": "Stack Overflow", - "description": "The label of footer link with label=Stack Overflow linking to https://stackoverflow.com/questions/tagged/docusaurus" + "description": "The label of footer link with label=Tutorial linking to /" }, "link.item.label.Discord": { "message": "Discord", - "description": "The label of footer link with label=Discord linking to https://discordapp.com/invite/docusaurus" - }, - "link.item.label.Twitter": { - "message": "Twitter", - "description": "The label of footer link with label=Twitter linking to https://twitter.com/docusaurus" + "description": "The label of footer link with label=Discord linking to https://discord.gg/tFcTpBp" }, "link.item.label.GitHub": { "message": "GitHub", - "description": "The label of footer link with label=GitHub linking to https://github.com/facebook/docusaurus" - }, - "copyright": { - "message": "Copyright © 2023 My Project, Inc. Built with Docusaurus.", - "description": "The footer copyright" + "description": "The label of footer link with label=GitHub linking to https://github.com/Unitystation-fork/Unitystation-WikiV2" } } diff --git a/i18n/FR/docusaurus-theme-classic/footer.json b/i18n/FR/docusaurus-theme-classic/footer.json index 57c15f79..d75f36e9 100755 --- a/i18n/FR/docusaurus-theme-classic/footer.json +++ b/i18n/FR/docusaurus-theme-classic/footer.json @@ -13,26 +13,14 @@ }, "link.item.label.Tutorial": { "message": "Tutorial", - "description": "The label of footer link with label=Tutorial linking to /docs/intro" - }, - "link.item.label.Stack Overflow": { - "message": "Stack Overflow", - "description": "The label of footer link with label=Stack Overflow linking to https://stackoverflow.com/questions/tagged/docusaurus" + "description": "The label of footer link with label=Tutorial linking to /" }, "link.item.label.Discord": { "message": "Discord", - "description": "The label of footer link with label=Discord linking to https://discordapp.com/invite/docusaurus" - }, - "link.item.label.Twitter": { - "message": "Twitter", - "description": "The label of footer link with label=Twitter linking to https://twitter.com/docusaurus" + "description": "The label of footer link with label=Discord linking to https://discord.gg/tFcTpBp" }, "link.item.label.GitHub": { "message": "GitHub", - "description": "The label of footer link with label=GitHub linking to https://github.com/facebook/docusaurus" - }, - "copyright": { - "message": "Copyright © 2023 My Project, Inc. Built with Docusaurus.", - "description": "The footer copyright" + "description": "The label of footer link with label=GitHub linking to https://github.com/Unitystation-fork/Unitystation-WikiV2" } } diff --git a/i18n/RU/docusaurus-theme-classic/footer.json b/i18n/RU/docusaurus-theme-classic/footer.json index 57c15f79..d75f36e9 100755 --- a/i18n/RU/docusaurus-theme-classic/footer.json +++ b/i18n/RU/docusaurus-theme-classic/footer.json @@ -13,26 +13,14 @@ }, "link.item.label.Tutorial": { "message": "Tutorial", - "description": "The label of footer link with label=Tutorial linking to /docs/intro" - }, - "link.item.label.Stack Overflow": { - "message": "Stack Overflow", - "description": "The label of footer link with label=Stack Overflow linking to https://stackoverflow.com/questions/tagged/docusaurus" + "description": "The label of footer link with label=Tutorial linking to /" }, "link.item.label.Discord": { "message": "Discord", - "description": "The label of footer link with label=Discord linking to https://discordapp.com/invite/docusaurus" - }, - "link.item.label.Twitter": { - "message": "Twitter", - "description": "The label of footer link with label=Twitter linking to https://twitter.com/docusaurus" + "description": "The label of footer link with label=Discord linking to https://discord.gg/tFcTpBp" }, "link.item.label.GitHub": { "message": "GitHub", - "description": "The label of footer link with label=GitHub linking to https://github.com/facebook/docusaurus" - }, - "copyright": { - "message": "Copyright © 2023 My Project, Inc. Built with Docusaurus.", - "description": "The footer copyright" + "description": "The label of footer link with label=GitHub linking to https://github.com/Unitystation-fork/Unitystation-WikiV2" } } diff --git a/src/pages/markdown-page.md b/src/pages/markdown-page.md deleted file mode 100755 index 9756c5b6..00000000 --- a/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages.