mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-30 12:01:50 +01:00
Rework sidebar (#65)
* Add 'Menus' category Adds the menus: My library, Library updates, Recently read, Catalogues, Extensions and Download queue. * Rework sidebar * Add 'Menus' category (#63) Adds the menus: My library, Library updates, Recently read, Catalogues, Extensions and Download queue. * Improve MaterialIcon.vue (#66) * Update style on MaterialIcon * Update a few descriptions * Add guide for No results when searching (#68) * Reader guide improvements (#67) * site enhancements * Improve Reader guide * fix badge position * fix badge position 2 * modify page transition description * small changes * review changes * Improve Backup guide (+ small changes) (#69) * Rework sidebar
This commit is contained in:
parent
ea3625bd04
commit
3d2a12b82b
@ -13,13 +13,21 @@ module.exports = {
|
|||||||
docsDir: 'src',
|
docsDir: 'src',
|
||||||
editLinks: true,
|
editLinks: true,
|
||||||
nav: require('./config/nav'),
|
nav: require('./config/nav'),
|
||||||
sidebar: require('./config/sidebar'),
|
sidebar: {
|
||||||
|
'/help/guides/': require('./config/sidebar/guides'),
|
||||||
|
'/help/faq/': require('./config/sidebar/faq'),
|
||||||
|
'/help/contribution': require('./config/sidebar/contribution'),
|
||||||
|
'/extensions': require('./config/sidebar/extensions')
|
||||||
|
},
|
||||||
lastUpdated: 'Last Updated'
|
lastUpdated: 'Last Updated'
|
||||||
},
|
},
|
||||||
plugins: require('./config/plugins'),
|
plugins: require('./config/plugins'),
|
||||||
extraWatchFiles: [
|
extraWatchFiles: [
|
||||||
'.vuepress/config/nav.js',
|
'.vuepress/config/nav.js',
|
||||||
'.vuepress/config/sidebar.js',
|
'.vuepress/config/plugins.js',
|
||||||
'.vuepress/config/plugins.js'
|
'.vuepress/config/sidebar/guides.js',
|
||||||
|
'.vuepress/config/sidebar/faq.js',
|
||||||
|
'.vuepress/config/sidebar/contribution.js',
|
||||||
|
'.vuepress/config/sidebar/extensions.js'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
module.exports = [
|
module.exports = [
|
||||||
{
|
{
|
||||||
text: 'Need help?',
|
text: 'Need help?',
|
||||||
|
link: '/help/',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: 'General',
|
text: 'Frequently Asked Questions',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: 'Application',
|
text: 'Application',
|
||||||
@ -15,104 +16,38 @@ module.exports = [
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: 'Contribution',
|
|
||||||
items: [
|
|
||||||
{
|
|
||||||
text: 'How can I help?',
|
|
||||||
link: '/help/faq/how-can-i-help'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'Guides',
|
text: 'Guides',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: 'General',
|
text: 'General',
|
||||||
items: [
|
|
||||||
{
|
|
||||||
text: 'Getting started',
|
|
||||||
link: '/help/guides/getting-started'
|
link: '/help/guides/getting-started'
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: 'Reading local manga',
|
|
||||||
link: '/help/guides/reading-local-manga'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Source problems',
|
|
||||||
link: '/help/guides/source-problems'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Categories',
|
|
||||||
link: '/help/guides/categories'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Library filters',
|
|
||||||
link: '/help/guides/library-filters'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Source migration',
|
|
||||||
link: '/help/guides/source-migration'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'Menus',
|
text: 'Menus',
|
||||||
items: [
|
|
||||||
{
|
|
||||||
text: 'My library',
|
|
||||||
link: '/help/guides/my-library'
|
link: '/help/guides/my-library'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Library updates',
|
text: 'Settings',
|
||||||
link: '/help/guides/library-updates'
|
link: '/help/guides/general'
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Recently read',
|
|
||||||
link: '/help/guides/recently-read'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Catalogues',
|
|
||||||
link: '/help/guides/catalogues'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Extensions',
|
|
||||||
link: '/help/guides/extensions'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Download queue',
|
|
||||||
link: '/help/guides/download-queue'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Settings',
|
text: 'Contribution',
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
text: 'General',
|
text: 'How can I help?',
|
||||||
link: '/help/guides/general'
|
link: '/help/contribution'
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Reader',
|
text: 'Available extensions',
|
||||||
link: '/help/guides/reader'
|
items: [
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: 'Downloads',
|
text: 'List',
|
||||||
link: '/help/guides/downloads'
|
link: '/extensions/'
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Tracking',
|
|
||||||
link: '/help/guides/tracking'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Backup',
|
|
||||||
link: '/help/guides/backup'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
text: 'Advanced',
|
|
||||||
link: '/help/guides/advanced'
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
23
src/.vuepress/config/sidebar/contribution.js
Normal file
23
src/.vuepress/config/sidebar/contribution.js
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
module.exports = [
|
||||||
|
'/',
|
||||||
|
{
|
||||||
|
title: 'Contribution',
|
||||||
|
collapsable: false,
|
||||||
|
sidebarDepth: 1,
|
||||||
|
children: [
|
||||||
|
'/help/contribution'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Frequently Asked Questions',
|
||||||
|
path: '/help/faq/application',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Guides',
|
||||||
|
path: '/help/guides/getting-started',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Available extensions',
|
||||||
|
path: '/extensions/'
|
||||||
|
}
|
||||||
|
];
|
19
src/.vuepress/config/sidebar/extensions.js
Normal file
19
src/.vuepress/config/sidebar/extensions.js
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
module.exports = [
|
||||||
|
'/',
|
||||||
|
{
|
||||||
|
title: 'Available extensions',
|
||||||
|
path: '/extensions/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Frequently Asked Questions',
|
||||||
|
path: '/help/faq/application',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Guides',
|
||||||
|
path: '/help/guides/getting-started',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Contribution',
|
||||||
|
path: '/help/contribution'
|
||||||
|
}
|
||||||
|
];
|
24
src/.vuepress/config/sidebar/faq.js
Normal file
24
src/.vuepress/config/sidebar/faq.js
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
module.exports = [
|
||||||
|
'/',
|
||||||
|
{
|
||||||
|
title: 'Frequently Asked Questions',
|
||||||
|
collapsable: false,
|
||||||
|
sidebarDepth: 1,
|
||||||
|
children: [
|
||||||
|
'/help/faq/application',
|
||||||
|
'/help/faq/extensions'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Guides',
|
||||||
|
path: '/help/guides/getting-started',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Contribution',
|
||||||
|
path: '/help/contribution'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'Available extensions',
|
||||||
|
path: '/extensions/'
|
||||||
|
}
|
||||||
|
];
|
@ -2,7 +2,7 @@ module.exports = [
|
|||||||
'/',
|
'/',
|
||||||
{
|
{
|
||||||
title: 'Guides',
|
title: 'Guides',
|
||||||
path: '/help/guides/',
|
collapsable: false,
|
||||||
sidebarDepth: 2,
|
sidebarDepth: 2,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
@ -41,34 +41,21 @@ module.exports = [
|
|||||||
'/help/guides/downloads',
|
'/help/guides/downloads',
|
||||||
'/help/guides/tracking',
|
'/help/guides/tracking',
|
||||||
'/help/guides/backup',
|
'/help/guides/backup',
|
||||||
'/help/guides/advanced'
|
'/help/guides/advanced',
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Frequently Asked Questions',
|
title: 'Frequently Asked Questions',
|
||||||
path: '/help/faq/',
|
path: '/help/faq/application',
|
||||||
sidebarDepth: 2,
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
title: 'General',
|
|
||||||
collapsable: false,
|
|
||||||
sidebarDepth: 2,
|
|
||||||
children: [
|
|
||||||
'/help/faq/application',
|
|
||||||
'/help/faq/extensions'
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Contribution',
|
title: 'Contribution',
|
||||||
collapsable: false,
|
path: '/help/contribution'
|
||||||
sidebarDepth: 2,
|
|
||||||
children: [
|
|
||||||
'/help/faq/how-can-i-help'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
'/extensions/'
|
{
|
||||||
|
title: 'Available extensions',
|
||||||
|
path: '/extensions/'
|
||||||
|
}
|
||||||
];
|
];
|
13
src/help/README.md
Normal file
13
src/help/README.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
title: Help
|
||||||
|
lang: en-US
|
||||||
|
sidebar: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# Help
|
||||||
|
|
||||||
|
Choose between [guides](guides/general/) and [frequently asked questions](faq/application/).
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
Help us expand this page by clicking [here](https://github.com/tachiyomiorg/website/edit/master/src/help/README.md)
|
||||||
|
:::
|
24
src/help/contribution.md
Normal file
24
src/help/contribution.md
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
title: How can I help?
|
||||||
|
lang: en-US
|
||||||
|
---
|
||||||
|
|
||||||
|
# How can I help?
|
||||||
|
:construction: :construction_worker_man: W.I.P. Description, help us improve through [here](https://github.com/tachiyomiorg/website/edit/master/src/help/faq/how-can-i-help.md)!
|
||||||
|
|
||||||
|
## GitHub
|
||||||
|
:construction: :construction_worker_man: W.I.P.
|
||||||
|
|
||||||
|
## Translation
|
||||||
|
|
||||||
|
**The project is available at [https://hosted.weblate.org/engage/tachiyomi/](https://hosted.weblate.org/engage/tachiyomi/)**
|
||||||
|
(direct [https://hosted.weblate.org/projects/tachiyomi/strings/](https://hosted.weblate.org/projects/tachiyomi/strings/))
|
||||||
|
|
||||||
|
The translators guide can be found at [https://docs.weblate.org/en/latest/user/index.html](https://docs.weblate.org/en/latest/user/index.html). Notice also:
|
||||||
|
* [https://docs.weblate.org/en/latest/user/profile.html#secondary-languages](https://docs.weblate.org/en/latest/user/profile.html#secondary-languages)
|
||||||
|
* [https://docs.weblate.org/en/latest/user/profile.html#subscriptions](https://docs.weblate.org/en/latest/user/profile.html#subscriptions)
|
||||||
|
* [https://docs.weblate.org/en/latest/user/translating.html#glossary](https://docs.weblate.org/en/latest/user/translating.html#glossary)
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
[![Translation status](https://hosted.weblate.org/widgets/tachiyomi/-/multi-auto.svg)](https://hosted.weblate.org/engage/tachiyomi/?utm_source=widget)
|
Loading…
Reference in New Issue
Block a user