diff --git a/docs/config/_default/languages.yaml b/docs/config/_default/languages.yaml index 5eeb3b9f..fca34aed 100644 --- a/docs/config/_default/languages.yaml +++ b/docs/config/_default/languages.yaml @@ -1,10 +1,8 @@ --- en: languageName: "English" - contentDir: "content/en" weight: 100 zh-TW: languageName: "繁體中文" - contentDir: "content/zh-TW" weight: 90 diff --git a/docs/content/en/Continuous-Integration/CircleCI.md b/docs/content/Continuous-Integration/CircleCI/_index.en.md similarity index 100% rename from docs/content/en/Continuous-Integration/CircleCI.md rename to docs/content/Continuous-Integration/CircleCI/_index.en.md diff --git a/docs/content/zh-TW/Continuous-Integration/CircleCI.md b/docs/content/Continuous-Integration/CircleCI/_index.zh-tw.md similarity index 98% rename from docs/content/zh-TW/Continuous-Integration/CircleCI.md rename to docs/content/Continuous-Integration/CircleCI/_index.zh-tw.md index 6101aa3b..23bb92bc 100644 --- a/docs/content/zh-TW/Continuous-Integration/CircleCI.md +++ b/docs/content/Continuous-Integration/CircleCI/_index.zh-tw.md @@ -137,6 +137,6 @@ workflows: {{< hint info >}} 💡 您可以通過 `eask generate workflow circle-ci` 生成工作流文件, -參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate- workflow-circle-ci) +參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow-circle-ci) 獲取更多信息! {{< /hint >}} diff --git a/docs/content/en/Continuous-Integration/GitHub-Actions.md b/docs/content/Continuous-Integration/GitHub-Actions/_index.en.md similarity index 100% rename from docs/content/en/Continuous-Integration/GitHub-Actions.md rename to docs/content/Continuous-Integration/GitHub-Actions/_index.en.md diff --git a/docs/content/zh-TW/Continuous-Integration/GitHub-Actions.md b/docs/content/Continuous-Integration/GitHub-Actions/_index.zh-tw.md similarity index 97% rename from docs/content/zh-TW/Continuous-Integration/GitHub-Actions.md rename to docs/content/Continuous-Integration/GitHub-Actions/_index.zh-tw.md index 29df9e43..ce538c87 100644 --- a/docs/content/zh-TW/Continuous-Integration/GitHub-Actions.md +++ b/docs/content/Continuous-Integration/GitHub-Actions/_index.zh-tw.md @@ -55,7 +55,7 @@ jobs: {{< hint info >}} 💡 您可以通過 `eask generate workflow github` 生成工作流文件, -參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow- github) +參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow-github) 了解更多信息! {{< /hint >}} diff --git a/docs/content/en/Continuous-Integration/GitLab-Runner.md b/docs/content/Continuous-Integration/GitLab-Runner/_index.en.md similarity index 100% rename from docs/content/en/Continuous-Integration/GitLab-Runner.md rename to docs/content/Continuous-Integration/GitLab-Runner/_index.en.md diff --git a/docs/content/zh-TW/Continuous-Integration/GitLab-Runner.md b/docs/content/Continuous-Integration/GitLab-Runner/_index.zh-tw.md similarity index 95% rename from docs/content/zh-TW/Continuous-Integration/GitLab-Runner.md rename to docs/content/Continuous-Integration/GitLab-Runner/_index.zh-tw.md index d31ea24f..65c6d837 100644 --- a/docs/content/zh-TW/Continuous-Integration/GitLab-Runner.md +++ b/docs/content/Continuous-Integration/GitLab-Runner/_index.zh-tw.md @@ -52,6 +52,6 @@ test-28.2: {{< hint info >}} 💡 您可以通過 `eask generate workflow gitlab` 生成工作流文件, -參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow- gitlab) +參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow-gitlab) 了解更多信息! {{< /hint >}} diff --git a/docs/content/en/Continuous-Integration/Travis-CI.md b/docs/content/Continuous-Integration/Travis-CI/_index.en.md similarity index 100% rename from docs/content/en/Continuous-Integration/Travis-CI.md rename to docs/content/Continuous-Integration/Travis-CI/_index.en.md diff --git a/docs/content/zh-TW/Continuous-Integration/Travis-CI.md b/docs/content/Continuous-Integration/Travis-CI/_index.zh-tw.md similarity index 95% rename from docs/content/zh-TW/Continuous-Integration/Travis-CI.md rename to docs/content/Continuous-Integration/Travis-CI/_index.zh-tw.md index fd0f08fd..8b56d999 100644 --- a/docs/content/zh-TW/Continuous-Integration/Travis-CI.md +++ b/docs/content/Continuous-Integration/Travis-CI/_index.zh-tw.md @@ -49,6 +49,6 @@ script: {{< hint info >}} 💡 您可以通過`eask generate workflow travis-ci`生成工作流文件, -參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate- workflow-travis-ci) +參見[命令和選項](https://emacs-eask.github.io/Getting-Started/Commands-and-options/#-eask-generate-workflow-travis-ci) 了解更多信息! {{< /hint >}} diff --git a/docs/content/en/Continuous-Integration/_index.md b/docs/content/Continuous-Integration/_index.en.md similarity index 100% rename from docs/content/en/Continuous-Integration/_index.md rename to docs/content/Continuous-Integration/_index.en.md diff --git a/docs/content/zh-TW/Continuous-Integration/_index.md b/docs/content/Continuous-Integration/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Continuous-Integration/_index.md rename to docs/content/Continuous-Integration/_index.zh-tw.md diff --git a/docs/content/en/Contributing/Codebase-Overview/_index.md b/docs/content/Contributing/Codebase-Overview/_index.en.md similarity index 100% rename from docs/content/en/Contributing/Codebase-Overview/_index.md rename to docs/content/Contributing/Codebase-Overview/_index.en.md diff --git a/docs/content/zh-TW/Contributing/Codebase-Overview/_index.md b/docs/content/Contributing/Codebase-Overview/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/Codebase-Overview/_index.md rename to docs/content/Contributing/Codebase-Overview/_index.zh-tw.md diff --git a/docs/content/en/Contributing/Codebase-Overview/images/execution_order.png b/docs/content/Contributing/Codebase-Overview/images/execution_order.png similarity index 100% rename from docs/content/en/Contributing/Codebase-Overview/images/execution_order.png rename to docs/content/Contributing/Codebase-Overview/images/execution_order.png diff --git a/docs/content/en/Contributing/Developing-Eask.md b/docs/content/Contributing/Developing-Eask/_index.en.md similarity index 100% rename from docs/content/en/Contributing/Developing-Eask.md rename to docs/content/Contributing/Developing-Eask/_index.en.md diff --git a/docs/content/zh-TW/Contributing/Developing-Eask.md b/docs/content/Contributing/Developing-Eask/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/Developing-Eask.md rename to docs/content/Contributing/Developing-Eask/_index.zh-tw.md diff --git a/docs/content/en/Contributing/Documentation.md b/docs/content/Contributing/Documentation/_index.en.md similarity index 100% rename from docs/content/en/Contributing/Documentation.md rename to docs/content/Contributing/Documentation/_index.en.md diff --git a/docs/content/zh-TW/Contributing/Documentation.md b/docs/content/Contributing/Documentation/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/Documentation.md rename to docs/content/Contributing/Documentation/_index.zh-tw.md diff --git a/docs/content/en/Contributing/How-to-Contribute.md b/docs/content/Contributing/How-to-Contribute/_index.en.md similarity index 100% rename from docs/content/en/Contributing/How-to-Contribute.md rename to docs/content/Contributing/How-to-Contribute/_index.en.md diff --git a/docs/content/zh-TW/Contributing/How-to-Contribute.md b/docs/content/Contributing/How-to-Contribute/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/How-to-Contribute.md rename to docs/content/Contributing/How-to-Contribute/_index.zh-tw.md diff --git a/docs/content/en/Contributing/PR.md b/docs/content/Contributing/PR/_index.en.md similarity index 100% rename from docs/content/en/Contributing/PR.md rename to docs/content/Contributing/PR/_index.en.md diff --git a/docs/content/zh-TW/Contributing/PR.md b/docs/content/Contributing/PR/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/PR.md rename to docs/content/Contributing/PR/_index.zh-tw.md diff --git a/docs/content/en/Contributing/_index.md b/docs/content/Contributing/_index.en.md similarity index 100% rename from docs/content/en/Contributing/_index.md rename to docs/content/Contributing/_index.en.md diff --git a/docs/content/zh-TW/Contributing/_index.md b/docs/content/Contributing/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Contributing/_index.md rename to docs/content/Contributing/_index.zh-tw.md diff --git a/docs/content/en/DSL/_index.md b/docs/content/DSL/_index.en.md similarity index 100% rename from docs/content/en/DSL/_index.md rename to docs/content/DSL/_index.en.md diff --git a/docs/content/zh-TW/DSL/_index.md b/docs/content/DSL/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/DSL/_index.md rename to docs/content/DSL/_index.zh-tw.md diff --git a/docs/content/en/Development-API/_index.md b/docs/content/Development-API/_index.en.md similarity index 100% rename from docs/content/en/Development-API/_index.md rename to docs/content/Development-API/_index.en.md diff --git a/docs/content/zh-TW/Development-API/_index.md b/docs/content/Development-API/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Development-API/_index.md rename to docs/content/Development-API/_index.zh-tw.md diff --git a/docs/content/en/Examples/Emacs-Configuration.md b/docs/content/Examples/Emacs-Configuration/_index.en.md similarity index 100% rename from docs/content/en/Examples/Emacs-Configuration.md rename to docs/content/Examples/Emacs-Configuration/_index.en.md diff --git a/docs/content/zh-TW/Examples/Emacs-Configuration.md b/docs/content/Examples/Emacs-Configuration/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Examples/Emacs-Configuration.md rename to docs/content/Examples/Emacs-Configuration/_index.zh-tw.md diff --git a/docs/content/en/Examples/Package-Development.md b/docs/content/Examples/Package-Development/_index.en.md similarity index 100% rename from docs/content/en/Examples/Package-Development.md rename to docs/content/Examples/Package-Development/_index.en.md diff --git a/docs/content/zh-TW/Examples/Package-Development.md b/docs/content/Examples/Package-Development/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Examples/Package-Development.md rename to docs/content/Examples/Package-Development/_index.zh-tw.md diff --git a/docs/content/en/Examples/Real-project-examples.md b/docs/content/Examples/Real-project-examples/_index.en.md similarity index 100% rename from docs/content/en/Examples/Real-project-examples.md rename to docs/content/Examples/Real-project-examples/_index.en.md diff --git a/docs/content/zh-TW/Examples/Real-project-examples.md b/docs/content/Examples/Real-project-examples/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Examples/Real-project-examples.md rename to docs/content/Examples/Real-project-examples/_index.zh-tw.md diff --git a/docs/content/en/Examples/_index.md b/docs/content/Examples/_index.en.md similarity index 100% rename from docs/content/en/Examples/_index.md rename to docs/content/Examples/_index.en.md diff --git a/docs/content/zh-TW/Examples/_index.md b/docs/content/Examples/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Examples/_index.md rename to docs/content/Examples/_index.zh-tw.md diff --git a/docs/content/en/FAQ/_index.md b/docs/content/FAQ/_index.en.md similarity index 100% rename from docs/content/en/FAQ/_index.md rename to docs/content/FAQ/_index.en.md diff --git a/docs/content/zh-TW/FAQ/_index.md b/docs/content/FAQ/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/FAQ/_index.md rename to docs/content/FAQ/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Advanced-Usage.md b/docs/content/Getting-Started/Advanced-Usage/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Advanced-Usage.md rename to docs/content/Getting-Started/Advanced-Usage/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Advanced-Usage.md b/docs/content/Getting-Started/Advanced-Usage/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Advanced-Usage.md rename to docs/content/Getting-Started/Advanced-Usage/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Basic-Usage/_index.md b/docs/content/Getting-Started/Basic-Usage/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Basic-Usage/_index.md rename to docs/content/Getting-Started/Basic-Usage/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md b/docs/content/Getting-Started/Basic-Usage/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Basic-Usage/_index.md rename to docs/content/Getting-Started/Basic-Usage/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Basic-Usage/images/scopes.png b/docs/content/Getting-Started/Basic-Usage/images/scopes.png similarity index 100% rename from docs/content/en/Getting-Started/Basic-Usage/images/scopes.png rename to docs/content/Getting-Started/Basic-Usage/images/scopes.png diff --git a/docs/content/en/Getting-Started/Commands-and-options.md b/docs/content/Getting-Started/Commands-and-options/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Commands-and-options.md rename to docs/content/Getting-Started/Commands-and-options/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Commands-and-options.md b/docs/content/Getting-Started/Commands-and-options/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Commands-and-options.md rename to docs/content/Getting-Started/Commands-and-options/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Directory-Structure.md b/docs/content/Getting-Started/Directory-Structure/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Directory-Structure.md rename to docs/content/Getting-Started/Directory-Structure/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Directory-Structure.md b/docs/content/Getting-Started/Directory-Structure/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Directory-Structure.md rename to docs/content/Getting-Started/Directory-Structure/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Finding-Emacs.md b/docs/content/Getting-Started/Finding-Emacs/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Finding-Emacs.md rename to docs/content/Getting-Started/Finding-Emacs/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Finding-Emacs.md b/docs/content/Getting-Started/Finding-Emacs/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Finding-Emacs.md rename to docs/content/Getting-Started/Finding-Emacs/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Install-Eask.md b/docs/content/Getting-Started/Install-Eask/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Install-Eask.md rename to docs/content/Getting-Started/Install-Eask/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Install-Eask.md b/docs/content/Getting-Started/Install-Eask/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Install-Eask.md rename to docs/content/Getting-Started/Install-Eask/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Introduction.md b/docs/content/Getting-Started/Introduction/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Introduction.md rename to docs/content/Getting-Started/Introduction/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Introduction.md b/docs/content/Getting-Started/Introduction/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Introduction.md rename to docs/content/Getting-Started/Introduction/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/Quick-Start.md b/docs/content/Getting-Started/Quick-Start/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/Quick-Start.md rename to docs/content/Getting-Started/Quick-Start/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/Quick-Start.md b/docs/content/Getting-Started/Quick-Start/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/Quick-Start.md rename to docs/content/Getting-Started/Quick-Start/_index.zh-tw.md diff --git a/docs/content/en/Getting-Started/_index.md b/docs/content/Getting-Started/_index.en.md similarity index 100% rename from docs/content/en/Getting-Started/_index.md rename to docs/content/Getting-Started/_index.en.md diff --git a/docs/content/zh-TW/Getting-Started/_index.md b/docs/content/Getting-Started/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Getting-Started/_index.md rename to docs/content/Getting-Started/_index.zh-tw.md diff --git a/docs/content/en/License/_index.md b/docs/content/License/_index.en.md similarity index 100% rename from docs/content/en/License/_index.md rename to docs/content/License/_index.en.md diff --git a/docs/content/zh-TW/License/_index.md b/docs/content/License/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/License/_index.md rename to docs/content/License/_index.zh-tw.md diff --git a/docs/content/en/Troubleshooting/_index.md b/docs/content/Troubleshooting/_index.en.md similarity index 100% rename from docs/content/en/Troubleshooting/_index.md rename to docs/content/Troubleshooting/_index.en.md diff --git a/docs/content/zh-TW/Troubleshooting/_index.md b/docs/content/Troubleshooting/_index.zh-tw.md similarity index 100% rename from docs/content/zh-TW/Troubleshooting/_index.md rename to docs/content/Troubleshooting/_index.zh-tw.md diff --git a/docs/content/en/_index.md b/docs/content/_index.en.md similarity index 93% rename from docs/content/en/_index.md rename to docs/content/_index.en.md index 332eafb0..de8f3d75 100644 --- a/docs/content/en/_index.md +++ b/docs/content/_index.en.md @@ -19,7 +19,7 @@ After installing Eask, you can easily develop any Elisp packages. Out of the box, Eask supports **50+ commands** to help you throughout the development. 🔥 -{{< button size="large" relref="Getting-Started/Introduction.md" >}}Getting Started{{< /button >}} +{{< button size="large" relref="Getting-Started/Introduction/" >}}Getting Started{{< /button >}} ## 🏆 Feature overview diff --git a/docs/content/zh-TW/_index.md b/docs/content/_index.zh-tw.md similarity index 93% rename from docs/content/zh-TW/_index.md rename to docs/content/_index.zh-tw.md index e30b021b..a6812c62 100644 --- a/docs/content/zh-TW/_index.md +++ b/docs/content/_index.zh-tw.md @@ -19,7 +19,7 @@ geekdocAnchor: false 開箱及用, Eask 支援 **50+ 指令** 來幫助整個你開發. 🔥 -{{< button size="large" relref="Getting-Started/Introduction.md" >}}開始使用{{< /button >}} +{{< button size="large" relref="Getting-Started/Introduction/" >}}開始使用{{< /button >}} ## 🏆 功能概述 diff --git a/docs/content/en/tos.md b/docs/content/tos.en.md similarity index 100% rename from docs/content/en/tos.md rename to docs/content/tos.en.md diff --git a/docs/content/zh-TW/tos.md b/docs/content/tos.zh-tw.md similarity index 100% rename from docs/content/zh-TW/tos.md rename to docs/content/tos.zh-tw.md diff --git a/docs/content/zh-TW/Contributing/Codebase-Overview/images/execution_order.png b/docs/content/zh-TW/Contributing/Codebase-Overview/images/execution_order.png deleted file mode 100644 index 2f17a8bb..00000000 Binary files a/docs/content/zh-TW/Contributing/Codebase-Overview/images/execution_order.png and /dev/null differ diff --git a/docs/content/zh-TW/Getting-Started/Basic-Usage/images/scopes.png b/docs/content/zh-TW/Getting-Started/Basic-Usage/images/scopes.png deleted file mode 100644 index 5ae95841..00000000 Binary files a/docs/content/zh-TW/Getting-Started/Basic-Usage/images/scopes.png and /dev/null differ