From f192cbd01beeb96b32de45ac11fd9f6a9fa6ca11 Mon Sep 17 00:00:00 2001 From: Misitebao Date: Tue, 5 Apr 2022 17:46:07 +0800 Subject: [PATCH] feat(website): convert documents that don't require version management to individual pages (#1311) --- .../2021-09-27-v2-beta1-release-notes.mdx | 2 +- .../2021-11-08-v2-beta2-release-notes.mdx | 2 +- .../2022-02-22-v2-beta3-release-notes.mdx | 2 +- website/docs/faq.mdx | 5 - website/docs/stats.mdx | 24 - website/docusaurus.config.js | 29 +- .../en/docusaurus-theme-classic/footer.json | 2 +- .../2021-09-27-v2-beta1-release-notes.mdx | 2 +- .../2021-11-08-v2-beta2-release-notes.mdx | 2 +- .../2022-02-22-v2-beta3-release-notes.mdx | 2 +- .../current/faq.mdx | 5 - .../current/stats.mdx | 5 - .../version-v2.0.0-beta.34/changelog.mdx | 36 - .../version-v2.0.0-beta.34/credits.mdx | 133 - .../version-v2.0.0-beta.34/faq.mdx | 5 - .../version-v2.0.0-beta.34/stats.mdx | 5 - .../changelog.md} | 10 +- .../community-guide.md | 3 + .../credits.mdx | 4 - .../docusaurus-plugin-content-pages/faq.md | 1 + .../docusaurus-plugin-content-pages/stats.mdx | 1 + .../docusaurus-theme-classic/footer.json | 6 +- .../docusaurus-theme-classic/navbar.json | 24 + website/package-lock.json | 13983 +++++++++++++++- website/package.json | 2 +- .../changelog.mdx => src/pages/changelog.md} | 4 - website/src/pages/community-guide.md | 3 + website/{docs => src/pages}/credits.mdx | 4 - website/src/pages/faq.md | 1 + .../pages}/stats.mdx | 21 +- .../version-v2.0.0-beta.34/changelog.mdx | 36 - .../version-v2.0.0-beta.34/credits.mdx | 133 - .../version-v2.0.0-beta.34/faq.mdx | 5 - website/yarn.lock | 8742 ---------- 34 files changed, 14027 insertions(+), 9217 deletions(-) delete mode 100644 website/docs/faq.mdx delete mode 100644 website/docs/stats.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/faq.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/stats.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/changelog.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/credits.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/faq.mdx delete mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-docs/version-v2.0.0-beta.34/stats.mdx rename website/i18n/zh-Hans/{docusaurus-plugin-content-docs/current/changelog.mdx => docusaurus-plugin-content-pages/changelog.md} (81%) create mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-pages/community-guide.md rename website/i18n/zh-Hans/{docusaurus-plugin-content-docs/current => docusaurus-plugin-content-pages}/credits.mdx (99%) create mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-pages/faq.md create mode 100644 website/i18n/zh-Hans/docusaurus-plugin-content-pages/stats.mdx rename website/{docs/changelog.mdx => src/pages/changelog.md} (97%) create mode 100644 website/src/pages/community-guide.md rename website/{docs => src/pages}/credits.mdx (99%) create mode 100644 website/src/pages/faq.md rename website/{versioned_docs/version-v2.0.0-beta.34 => src/pages}/stats.mdx (58%) delete mode 100644 website/versioned_docs/version-v2.0.0-beta.34/changelog.mdx delete mode 100644 website/versioned_docs/version-v2.0.0-beta.34/credits.mdx delete mode 100644 website/versioned_docs/version-v2.0.0-beta.34/faq.mdx delete mode 100644 website/yarn.lock diff --git a/website/blog/2021-09-27-v2-beta1-release-notes.mdx b/website/blog/2021-09-27-v2-beta1-release-notes.mdx index 95d5bd951..44748dd18 100644 --- a/website/blog/2021-09-27-v2-beta1-release-notes.mdx +++ b/website/blog/2021-09-27-v2-beta1-release-notes.mdx @@ -170,7 +170,7 @@ I also need to give a huge thank you :pray: to the following people because with - [Tad Vizbaras](https://github.com/tadvi) - Experimenting with his [winc](https://github.com/tadvi/winc) project was the first step down the path to a pure Go Wails. - [Mat Ryer](https://github.com/matryer) - His support, encouragement and feedback has really helped drive the project forward. -And finally, I'd like to give a special thank you to all the [project sponsors](/docs/credits#sponsors), including [JetBrains](https://www.jetbrains.com?from=Wails), +And finally, I'd like to give a special thank you to all the [project sponsors](/credits#sponsors), including [JetBrains](https://www.jetbrains.com?from=Wails), whose support drive the project in many ways behind the scenes. I look forward to seeing what people build with Wails in this next exciting phase of the project! diff --git a/website/blog/2021-11-08-v2-beta2-release-notes.mdx b/website/blog/2021-11-08-v2-beta2-release-notes.mdx index 83083b478..632454087 100644 --- a/website/blog/2021-11-08-v2-beta2-release-notes.mdx +++ b/website/blog/2021-11-08-v2-beta2-release-notes.mdx @@ -149,7 +149,7 @@ The aim of this release is to get feedback on the new approach, and to iron out Your input would be most welcome! Please direct any feedback to the [v2 Beta](https://github.com/wailsapp/wails/discussions/828) discussion board. -And finally, I'd like to give a special thank you to all the [project sponsors](/docs/credits#sponsors), including [JetBrains](https://www.jetbrains.com?from=Wails), +And finally, I'd like to give a special thank you to all the [project sponsors](/credits#sponsors), including [JetBrains](https://www.jetbrains.com?from=Wails), whose support drive the project in many ways behind the scenes. I look forward to seeing what people build with Wails in this next exciting phase of the project! diff --git a/website/blog/2022-02-22-v2-beta3-release-notes.mdx b/website/blog/2022-02-22-v2-beta3-release-notes.mdx index 16d25814f..e7c010d80 100644 --- a/website/blog/2022-02-22-v2-beta3-release-notes.mdx +++ b/website/blog/2022-02-22-v2-beta3-release-notes.mdx @@ -108,7 +108,7 @@ discussion board. Linux is **hard** to support. We expect there to be a number of quirks with the beta. Please help us to help you by filing detailed bug reports! -Finally, I'd like to give a special thank you to all the [project sponsors](/docs/credits#sponsors) whose support +Finally, I'd like to give a special thank you to all the [project sponsors](/credits#sponsors) whose support drive the project in many ways behind the scenes. I look forward to seeing what people build with Wails in this next exciting phase of the project! diff --git a/website/docs/faq.mdx b/website/docs/faq.mdx deleted file mode 100644 index a927c27de..000000000 --- a/website/docs/faq.mdx +++ /dev/null @@ -1,5 +0,0 @@ ---- -sidebar_position: 60 ---- - -# FAQ \ No newline at end of file diff --git a/website/docs/stats.mdx b/website/docs/stats.mdx deleted file mode 100644 index ef452fe9e..000000000 --- a/website/docs/stats.mdx +++ /dev/null @@ -1,24 +0,0 @@ ---- -sidebar_position: 100 ---- - -# Website Stats - -To enable us to understand how better to focus our efforts on translations and platform support, -we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform. -We chose Plausible because we believe in respecting the privacy of our users. -We also believe in transparency, therefore have made the dashboard public. - -If you have any concerns or suggestions, please raise them in the projects github discussions. - - - - - -export const NewComponent = () => ( -
-