Sidebar changes and renaming some Guide items (#570)

* Change names and set redirection on some guides

* Stylize sidebar
This commit is contained in:
Soitora 2021-03-12 13:09:27 +01:00 committed by GitHub
parent 17e6950175
commit 5279342e23
11 changed files with 18380 additions and 161 deletions

18318
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,6 +37,7 @@
"vuepress-plugin-clean-urls": "^1.1.2",
"vuepress-plugin-container": "^2.1.5",
"vuepress-plugin-element-ui": "^1.1.0",
"vuepress-plugin-redirect-frontmatter": "^1.0.0",
"vuepress-plugin-zooming": "^1.1.8",
"webpack": "^4.44.2"
},

View File

@ -38,11 +38,11 @@ module.exports = {
lastUpdated: "Last updated",
nav: navBarConfig,
sidebar: {
"/help/guides/": sideBarConfig.guides,
"/help/faq/": sideBarConfig.faq,
"/help/contribution": sideBarConfig.contribution,
"/extensions": sideBarConfig.extensions,
"/forks": sideBarConfig.forks,
"/help/guides/": sideBarConfig.default,
"/help/faq/": sideBarConfig.default,
"/help/contribution": sideBarConfig.default,
"/extensions": sideBarConfig.default,
"/forks": sideBarConfig.default,
"/sandbox": sideBarConfig.sandbox,
},
},

View File

@ -49,6 +49,7 @@ module.exports = [
normalSuffix: "/",
},
],
["redirect-frontmatter"],
[
"vuepress-plugin-zooming",
{

View File

@ -1,6 +1,5 @@
module.exports = {
guides: [
"/",
default: [
{
title: "Frequently Asked Questions",
path: "/help/faq/",
@ -11,140 +10,20 @@ module.exports = {
sidebarDepth: 2,
children: [
"/help/guides/getting-started",
"/help/guides/troubleshooting-problems",
"/help/guides/troubleshooting",
"/help/guides/source-migration",
"/help/guides/creating-backups",
"/help/guides/reading-local-manga",
"/help/guides/reader-settings",
"/help/guides/categories",
"/help/guides/backups",
"/help/guides/tracking",
"/help/guides/categories",
"/help/guides/local-manga",
"/help/guides/reader-settings",
],
},
{
title: "Forks",
path: "/forks/",
},
{
title: "Contribution",
path: "/help/contribution",
},
{
title: "Download",
path: "/download/",
},
{
title: "Extensions",
path: "/extensions/",
},
],
faq: [
"/",
{
title: "Frequently Asked Questions",
path: "/help/faq/",
},
{
title: "Guides",
path: "/help/guides/getting-started",
},
{
title: "Forks",
path: "/forks/",
},
{
title: "Contribution",
path: "/help/contribution",
},
{
title: "Download",
path: "/download/",
},
{
title: "Extensions",
path: "/extensions/",
},
],
contribution: [
"/",
{
title: "Frequently Asked Questions",
path: "/help/faq/",
},
{
title: "Guides",
path: "/help/guides/getting-started",
},
{
title: "Forks",
path: "/forks/",
},
{
title: "Contribution",
title: "Tachiyomi",
collapsable: false,
sidebarDepth: 1,
children: ["/help/contribution"],
},
{
title: "Download",
path: "/download/",
},
{
title: "Extensions",
path: "/extensions/",
},
],
extensions: [
"/",
{
title: "Frequently Asked Questions",
path: "/help/faq/",
},
{
title: "Guides",
path: "/help/guides/getting-started",
},
{
title: "Forks",
path: "/forks/",
},
{
title: "Contribution",
path: "/help/contribution",
},
{
title: "Download",
path: "/download/",
},
{
title: "Extensions",
path: "/extensions/",
},
],
forks: [
"/",
{
title: "Frequently Asked Questions",
path: "/help/faq/",
},
{
title: "Guides",
path: "/help/guides/getting-started",
},
{
title: "Forks",
path: "/forks/",
},
{
title: "Contribution",
path: "/help/contribution",
},
{
title: "Download",
path: "/download/",
},
{
title: "Extensions",
path: "/extensions/",
sidebarDepth: 2,
children: ["/help/contribution", "/download/", "/extensions/", "/forks/"],
},
],
sandbox: [

View File

@ -361,3 +361,37 @@ a
&__title
&__description
color #ce8b27
.sidebar
.sidebar-heading
font-weight 500 !important
.sidebar-links > li
> .sidebar-link
font-weight 500 !important
> .sidebar-group .sidebar-group-items .sidebar-link
font-weight 400 !important
&.active
font-weight 500 !important
border-left none !important
&::before
content " "
position: absolute
width 7px
height 7px
margin-left -12px
margin-top 6px
background-color $accentColor
border-radius 50%
.sidebar-sub-headers > .sidebar-sub-header
> .sidebar-link
font-weight 500 !important
& > .sidebar-sub-headers > .sidebar-sub-header
> .sidebar-link
font-weight 400 !important
> .sidebar-sub-headers > .sidebar-sub-header .sidebar-link
font-weight 500 !important
.menu-link.active:before {
}

View File

@ -11,7 +11,7 @@ help:
faq: true
- title: Troubleshooting
description: Fix common issues
link: /help/guides/troubleshooting-problems/
link: /help/guides/troubleshooting/
fixProblems: true
- title: Guides
description: Extensive guides written for you

View File

@ -1,10 +1,12 @@
---
title: Creating backups
title: Backups
description: Backups can save you a lot of headache in case something happens to your installation or device.
lang: en-US
permalink: /help/guides/backups
redirectFrom: /help/guides/creating-backups
---
# Creating backups
# Backups
Backups are inter-compatible between **Tachiyomi** versions, with a few exceptions listed under [forks information](#forks-information).

View File

@ -1,10 +1,12 @@
---
title: Reading local manga
title: Local manga
description: All the information you would need to read your own local manga.
lang: en-US
permalink: /help/guides/local-manga
redirectFrom: /help/guides/reading-local-manga
---
# Reading local manga
# Local manga
Follow the steps below to create local manga.

View File

@ -1,9 +1,9 @@
---
title: Tracking manga
title: Tracking
description: How to automatically track read chapters on supported trackers
lang: en-US
---
# Tracking Info
# Tracking
**Tracking** helps you automatically send read manga chapters to supported trackers, so you can keep track of what and when you read it online.

View File

@ -1,10 +1,12 @@
---
title: Troubleshooting problems
title: Troubleshooting
description: Encountered an issue with a source or the app? Here are resources to help you troubleshoot it.
lang: en-US
permalink: /help/guides/troubleshooting
redirectFrom: /help/guides/troubleshooting-problems
---
# Troubleshooting problems
# Troubleshooting
This page is for when you encounter a problem with a source or the app.