From 749c795173c7b6965205c1e8f09aaba21864cab5 Mon Sep 17 00:00:00 2001 From: Simon Mattila Date: Thu, 19 Sep 2019 05:07:01 +0200 Subject: [PATCH] Fixed sidebar navigation for FAQ. --- src/.vuepress/config.js | 5 ++--- src/help/faq/README.md | 14 -------------- .../faq/{application/README.md => application.md} | 0 .../faq/{extensions/README.md => extensions.md} | 0 4 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 src/help/faq/README.md rename src/help/faq/{application/README.md => application.md} (100%) rename src/help/faq/{extensions/README.md => extensions.md} (100%) diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 9046d485..9f9d6c5c 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -9,7 +9,7 @@ module.exports = { editLinks: true, nav: [ { text: 'Guides', link: '/help/guides/getting-started' }, - { text: 'FAQ', link: '/help/faq/' }, + { text: 'FAQ', link: '/help/faq/application' }, { text: 'Extensions', link: '/extensions/' }, { text: 'Wiki', link: 'https://github.com/inorichi/tachiyomi/wiki' }, { text: 'Discord', link: 'https://discord.gg/tachiyomi' }, @@ -23,8 +23,7 @@ module.exports = { }, { title: 'FAQ', - path: '/help/faq/', - children: ['/help/faq/application/', '/help/faq/extensions/'] + children: ['/help/faq/application', '/help/faq/extensions'] }, '/extensions/' ], diff --git a/src/help/faq/README.md b/src/help/faq/README.md deleted file mode 100644 index 1d887506..00000000 --- a/src/help/faq/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: FAQ -lang: en-US -sidebarDepth: 2 ---- - -# FAQ - -Here you can find the frequently asked questions. - -They are separated by the categories listed below. - -- [Application](/help/faq/application/) -- [Extensions](/help/faq/extensions/) diff --git a/src/help/faq/application/README.md b/src/help/faq/application.md similarity index 100% rename from src/help/faq/application/README.md rename to src/help/faq/application.md diff --git a/src/help/faq/extensions/README.md b/src/help/faq/extensions.md similarity index 100% rename from src/help/faq/extensions/README.md rename to src/help/faq/extensions.md