Expand Shortcodes

Should they be colored green?
Hmm

Fixes #1
This commit is contained in:
Soitora 2023-09-06 21:52:47 +02:00
parent a3e74b4559
commit a75e26bc11
No known key found for this signature in database
GPG Key ID: A6D711EB4F2CCD97
19 changed files with 156 additions and 74 deletions

View File

@ -1,28 +1,59 @@
const iconMappings = {
alertDecagramOutline: `<svg originalIcon="alertDecagramOutline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23,12L20.56,14.78L20.9,18.46L17.29,19.28L15.4,22.46L12,21L8.6,22.47L6.71,19.29L3.1,18.47L3.44,14.78L1,12L3.44,9.21L3.1,5.53L6.71,4.72L8.6,1.54L12,3L15.4,1.54L17.29,4.72L20.9,5.54L20.56,9.22L23,12M20.33,12L18.5,9.89L18.74,7.1L16,6.5L14.58,4.07L12,5.18L9.42,4.07L8,6.5L5.26,7.09L5.5,9.88L3.67,12L5.5,14.1L5.26,16.9L8,17.5L9.42,19.93L12,18.81L14.58,19.92L16,17.5L18.74,16.89L18.5,14.1L20.33,12M11,15H13V17H11V15M11,7H13V13H11V7" /></svg>`,
backupRestore: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,3A9,9 0 0,0 3,12H0L4,16L8,12H5A7,7 0 0,1 12,5A7,7 0 0,1 19,12A7,7 0 0,1 12,19C10.5,19 9.09,18.5 7.94,17.7L6.5,19.14C8.04,20.3 9.94,21 12,21A9,9 0 0,0 21,12A9,9 0 0,0 12,3M14,12A2,2 0 0,0 12,10A2,2 0 0,0 10,12A2,2 0 0,0 12,14A2,2 0 0,0 14,12Z" /></svg>`,
bookmarkBoxOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 20H18V22H4C2.9 22 2 21.1 2 20V6H4V20M22 4V16C22 17.1 21.1 18 20 18H8C6.9 18 6 17.1 6 16V4C6 2.9 6.9 2 8 2H20C21.1 2 22 2.9 22 4M20 4H8V16H20V4M18 6H13V13L15.5 11.5L18 13V6Z" /></svg>`,
bookOpenOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,4H3A2,2 0 0,0 1,6V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19V6A2,2 0 0,0 21,4M3,19V6H11V19H3M21,19H13V6H21V19M14,9.5H20V11H14V9.5M14,12H20V13.5H14V12M14,14.5H20V16H14V14.5Z" /></svg>`,
cloudOffOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19.8 22.6L17.15 20H6.5Q4.2 20 2.6 18.4T1 14.5Q1 12.58 2.19 11.08 3.38 9.57 5.25 9.15 5.33 8.95 5.4 8.76 5.5 8.57 5.55 8.35L1.4 4.2L2.8 2.8L21.2 21.2M6.5 18H15.15L7.1 9.95Q7.05 10.23 7.03 10.5 7 10.73 7 11H6.5Q5.05 11 4.03 12.03 3 13.05 3 14.5 3 15.95 4.03 17 5.05 18 6.5 18M11.13 14M21.6 18.75L20.15 17.35Q20.58 17 20.79 16.54 21 16.08 21 15.5 21 14.45 20.27 13.73 19.55 13 18.5 13H17V11Q17 8.93 15.54 7.46 14.08 6 12 6 11.33 6 10.7 6.16 10.07 6.33 9.5 6.68L8.05 5.23Q8.93 4.63 9.91 4.31 10.9 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 16.5 22.63 17.31 22.25 18.15 21.6 18.75M14.83 12.03Z" /></svg>`,
codeTags: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z" /></svg>`,
cog: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z" /></svg>`,
compassOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7,17L10.2,10.2L17,7L13.8,13.8L7,17M12,11.1A0.9,0.9 0 0,0 11.1,12A0.9,0.9 0 0,0 12,12.9A0.9,0.9 0 0,0 12.9,12A0.9,0.9 0 0,0 12,11.1M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" /></svg>`,
dotsHorizontal: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z" /></svg>`,
downloadOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13,5V11H14.17L12,13.17L9.83,11H11V5H13M15,3H9V9H5L12,16L19,9H15V3M19,18H5V20H19V18Z" /></svg>`,
glasses: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3,10C2.76,10 2.55,10.09 2.41,10.25C2.27,10.4 2.21,10.62 2.24,10.86L2.74,13.85C2.82,14.5 3.4,15 4,15H7C7.64,15 8.36,14.44 8.5,13.82L9.56,10.63C9.6,10.5 9.57,10.31 9.5,10.19C9.39,10.07 9.22,10 9,10H3M7,17H4C2.38,17 0.96,15.74 0.76,14.14L0.26,11.15C0.15,10.3 0.39,9.5 0.91,8.92C1.43,8.34 2.19,8 3,8H9C9.83,8 10.58,8.35 11.06,8.96C11.17,9.11 11.27,9.27 11.35,9.45C11.78,9.36 12.22,9.36 12.64,9.45C12.72,9.27 12.82,9.11 12.94,8.96C13.41,8.35 14.16,8 15,8H21C21.81,8 22.57,8.34 23.09,8.92C23.6,9.5 23.84,10.3 23.74,11.11L23.23,14.18C23.04,15.74 21.61,17 20,17H17C15.44,17 13.92,15.81 13.54,14.3L12.64,11.59C12.26,11.31 11.73,11.31 11.35,11.59L10.43,14.37C10.07,15.82 8.56,17 7,17M15,10C14.78,10 14.61,10.07 14.5,10.19C14.42,10.31 14.4,10.5 14.45,10.7L15.46,13.75C15.64,14.44 16.36,15 17,15H20C20.59,15 21.18,14.5 21.25,13.89L21.76,10.82C21.79,10.62 21.73,10.4 21.59,10.25C21.45,10.09 21.24,10 21,10H15Z" /></svg>`,
helpCircleOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,18H13V16H11V18M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,6A4,4 0 0,0 8,10H10A2,2 0 0,1 12,8A2,2 0 0,1 14,10C14,12 11,11.75 11,15H13C13,12.75 16,12.5 16,10A4,4 0 0,0 12,6Z" /></svg>`,
history: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3" /></svg>`,
informationOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z" /></svg>`,
labelOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16,17H5V7H16L19.55,12M17.63,5.84C17.27,5.33 16.67,5 16,5H5A2,2 0 0,0 3,7V17A2,2 0 0,0 5,19H16C16.67,19 17.27,18.66 17.63,18.15L22,12L17.63,5.84Z" /></svg>`,
paletteOutline: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2C17.5,2 22,6 22,11A6,6 0 0,1 16,17H14.2C13.9,17 13.7,17.2 13.7,17.5C13.7,17.6 13.8,17.7 13.8,17.8C14.2,18.3 14.4,18.9 14.4,19.5C14.5,20.9 13.4,22 12,22M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C12.3,20 12.5,19.8 12.5,19.5C12.5,19.3 12.4,19.2 12.4,19.1C12,18.6 11.8,18.1 11.8,17.5C11.8,16.1 12.9,15 14.3,15H16A4,4 0 0,0 20,11C20,7.1 16.4,4 12,4M6.5,10C7.3,10 8,10.7 8,11.5C8,12.3 7.3,13 6.5,13C5.7,13 5,12.3 5,11.5C5,10.7 5.7,10 6.5,10M9.5,6C10.3,6 11,6.7 11,7.5C11,8.3 10.3,9 9.5,9C8.7,9 8,8.3 8,7.5C8,6.7 8.7,6 9.5,6M14.5,6C15.3,6 16,6.7 16,7.5C16,8.3 15.3,9 14.5,9C13.7,9 13,8.3 13,7.5C13,6.7 13.7,6 14.5,6M17.5,10C18.3,10 19,10.7 19,11.5C19,12.3 18.3,13 17.5,13C16.7,13 16,12.3 16,11.5C16,10.7 16.7,10 17.5,10Z" /></svg>`,
queryStats: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m105-233-65-47 200-320 120 140 160-260 109 163q-23 1-43.5 5.5T545-539l-22-33-152 247-121-141-145 233ZM863-40 738-165q-20 14-44.5 21t-50.5 7q-75 0-127.5-52.5T463-317q0-75 52.5-127.5T643-497q75 0 127.5 52.5T823-317q0 26-7 50.5T795-221L920-97l-57 57ZM643-217q42 0 71-29t29-71q0-42-29-71t-71-29q-42 0-71 29t-29 71q0 42 29 71t71 29Zm89-320q-19-8-39.5-13t-42.5-6l205-324 65 47-188 296Z"/></svg>`,
security: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,12H19C18.47,16.11 15.72,19.78 12,20.92V12H5V6.3L12,3.19M12,1L3,5V11C3,16.55 6.84,21.73 12,23C17.16,21.73 21,16.55 21,11V5L12,1Z" /></svg>`,
sync: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z" /></svg>`,
}
const navigationMappings = {
more: {
name: "More",
title: "More menu",
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>dots-horizontal</title><path d="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z" /></svg>`,
},
settings: {
name: "Settings",
title: "Settings menu",
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>cog</title><path d="M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.21,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.21,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.67 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z" /></svg>`,
dependsOn: "more",
},
reader: {
name: "Reader",
title: "Reader menu",
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>book-open-outline</title><path d="M21,4H3A2,2 0 0,0 1,6V19A2,2 0 0,0 3,21H21A2,2 0 0,0 23,19V6A2,2 0 0,0 21,4M3,19V6H11V19H3M21,19H13V6H21V19M14,9.5H20V11H14V9.5M14,12H20V13.5H14V12M14,14.5H20V16H14V14.5Z" /></svg>`,
dependsOn: "settings",
},
advanced: {
name: "Advanced",
title: "Advanced menu",
icon: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>code-tags</title><path d="M14.6,16.6L19.2,12L14.6,7.4L16,6L22,12L16,18L14.6,16.6M9.4,16.6L4.8,12L9.4,7.4L8,6L2,12L8,18L9.4,16.6Z" /></svg>`,
dependsOn: "settings",
},
};
// Main menus
"main_library": { name: "Library", icon: iconMappings["bookmarkBoxOutline"] },
"main_updates": { name: "Updates", icon: iconMappings["alertDecagramOutline"] },
"main_history": { name: "History", icon: iconMappings["history"] },
"main_browse": { name: "Browse", icon: iconMappings["compassOutline"] },
"main_more": { name: "More", icon: iconMappings["dotsHorizontal"] },
// Browse menu
"sources": { name: "Sources", dependsOn: "main_browse" },
"extensions": { name: "Extensions", dependsOn: "main_browse" },
"migrate": { name: "Migrate", dependsOn: "main_browse" },
// More menu
"downloaded-only": { name: "Downloaded only", icon: iconMappings["cloudOffOutline"], dependsOn: "main_more" },
"incognito-mode": { name: "Incognito mode", icon: iconMappings["glasses"], dependsOn: "main_more" },
"download-queue": { name: "Download queue", icon: iconMappings["downloadOutline"], dependsOn: "main_more" },
"categories": { name: "Categories", icon: iconMappings["labelOutline"], dependsOn: "main_more" },
"statistics": { name: "Statistics", icon: iconMappings["queryStats"], dependsOn: "main_more" },
"backup-and-restore": { name: "Backup and restore", icon: iconMappings["backupRestore"], dependsOn: "main_more" },
"settings": { name: "Settings", icon: iconMappings["cog"], dependsOn: "main_more" },
"about": { name: "About", icon: iconMappings["informationOutline"], dependsOn: "main_more" },
"help": { name: "Help", icon: iconMappings["helpCircleOutline"], dependsOn: "main_more" },
// Settings submenu
"appearance": { name: "Appearance", icon: iconMappings["paletteOutline"], dependsOn: "settings" },
"library": { name: "Library", icon: iconMappings["bookmarkBoxOutline"], dependsOn: "settings" },
"downloads": { name: "Downloads", icon: iconMappings["downloadOutline"], dependsOn: "settings" },
"tracking": { name: "Tracking", icon: iconMappings["sync"], dependsOn: "settings" },
"browse": { name: "Browse", icon: iconMappings["compassOutline"], dependsOn: "settings" },
"security-and-privacy": { name: "Security and privacy", icon: iconMappings["security"], dependsOn: "settings" },
"reader": { name: "Reader", icon: iconMappings["bookOpenOutline"], dependsOn: "settings" },
"advanced": { name: "Advanced", icon: iconMappings["codeTags"], dependsOn: "settings" },
}
function generateNavigationHtml(navKey) {
const navData = navigationMappings[navKey];
@ -31,12 +62,13 @@ function generateNavigationHtml(navKey) {
return "<strong style='color:var(--vp-c-danger-1)'>Unsupported Navigation!</strong>";
}
const { name, title, icon, dependsOn } = navData;
const { name, icon, dependsOn } = navData;
let html = `<span class='shortcode navigation ${navKey}' title='${title}'>${icon}<span class="name">${name}</span></span>`;
const iconHtml = icon ? icon : '';
let html = `<span class='shortcode navigation ${navKey}'>${iconHtml}<span class="name">${name}</span></span>`;
if (dependsOn) {
html = generateNavigationHtml(dependsOn) + `` + html;
html = `${generateNavigationHtml(dependsOn)} -> ${html}`;
}
return html;

View File

@ -194,17 +194,19 @@ main :where(h1, h2, h3, h4, h5, h6) + figure {
* -------------------------------------------------------------------------- */
.navigation {
color: var(--vp-c-text-2)
color: var(--vp-c-green-2)
font-weight: 600
&:hover {
color: var(--vp-c-text-1)
cursor: help
color: var(--vp-c-green-1)
cursor: default
}
svg,
span.name {
vertical-align: middle // Align both SVG and <span> vertically
position: relative
bottom: 1px
}
svg {

View File

@ -9,10 +9,10 @@ Frequently Asked Questions about Browse.
## Why Can't I See Installed Sources?
### If the Extension Language Differs from Your Phone's Primary Language
Enable the source's language at **Browse -> Sources -> Filter**, then turn on the language of the desired source.
Enable the source's language at <nav to="sources">, tap on **Filter**, then turn on the language of the desired source.
### If It's an NSFW Extension
Navigate to **More -> Settings -> Browse** and check the **Show in sources list** option.
Navigate to <nav to="browse"> and check the **Show in sources and extensions list** option.
## How Can I Locate a Specific Series?
At times, locating a source containing the series you want to read can be challenging.
@ -26,7 +26,7 @@ Here are strategies to help you find it:
- Search for an extension for the website you found in *step 1* within the [extensions list](/extensions/).
### If You Find the Series on a Specific Scanlator or Aggregator With an Extension
Download the relevant extension, locate it under **Browse -> Sources**, and proceed to search for the series there.
Download the relevant extension, locate it under <nav to="sources">, and proceed to search for the series there.
### If You Find the Series on a Specific Scanlator or Aggregator Without an Extension
Check if a request has been made to add the site as an extension [here](https://github.com/tachiyomiorg/tachiyomi-extensions/issues) and confirm it's not on the [list of extensions that won't be added back](https://github.com/tachiyomiorg/tachiyomi-extensions/issues/3475).

View File

@ -20,9 +20,9 @@ Occasionally, cover images for local series might not appear.
* To verify, access the series with the missing cover and see if you can read chapters within the app.
* If not, follow the [provided guide](/docs/guides/local-series/#folder-structure) first.
1. Capture a screenshot of the read chapters, then remove the series from your library.
1. Navigate to **Browse -> Settings -> Advanced** and tap **Clear database**.
1. Navigate to <nav to="advanced"> and tap **Clear database**.
* This action will only affect series not in your library.
1. Return to **Browse -> Local source** and locate the series.
2. Return to <nav to="sources">, go to **Local source** and locate the series.
* The cover issue should now be resolved.
* Re-add the series to your library, mark your read chapters, and re-enable tracking if necessary.

View File

@ -27,7 +27,7 @@ Downloads might not be detected due to multiple factors:
> Adjust the folder title to the updated name.
## Managing Download Queue
Navigate to **More -> Download Queue** to interact with queued downloads.
Navigate to <nav to="download-queue"> to interact with queued downloads.
Cancel all items by clicking the **Overflow** button beside a series chapter or the top right corner.

View File

@ -17,7 +17,7 @@ Ideal for users seeking the latest **Tachiyomi** experience, it's essential to [
Some Android skins (e.g., **MIUI**) aggressively save battery, potentially shutting down apps in the background.
Whitelist **Tachiyomi** from your battery saver by going to **More -> Settings -> Advanced** and tapping **Disable battery optimization**.
Whitelist **Tachiyomi** from your battery saver by going to <nav to="advanced"> and tapping **Disable battery optimization**.
If unsuccessful, try [DontKillMyApp](https://dontkillmyapp.com/) for battery-saving options on your device and workarounds.

View File

@ -7,7 +7,7 @@ description: Frequently Asked Questions about the Library.
Frequently Asked Questions about the Library.
## How Can I Monitor My Downloaded Chapters?
You can enable badges by navigating to **Library -> Filter** and clicking the **Display** tab.
You can enable badges by navigating to <nav to="main_library">, then going to **Filter** and clicking the **Display** tab.
Then, at the bottom, select **Download badges**.
## Why Does Global Update Skip Certain Entries?
@ -22,7 +22,7 @@ To manage entries with infrequent or no updates, consider using categories and e
We recommend sticking with the default settings and prioritizing unread chapters for reading.
If you wish to disable the notification about skipped items, you can do so at **More -> Settings -> General -> Manage notifications** (doing so requires Android 8 or above).
If you wish to disable the notification about skipped items, you can do so at <nav to="advanced"> and then **Manage notifications** (doing so requires Android 8 or above).
## Why Am I Warned About Large Bulk Updates and Downloads?
Excessive server queries and superfluous site interactions could trigger anti-**Tachiyomi** measures from sources. See the previous question for more context. Long-running update checks and downloads might also impact your device's battery life.
@ -32,7 +32,7 @@ To mitigate these concerns:
* It's advisable to maintain the default settings.
* Try these tips if you still encounter the warning message:
* Use categories to segment your library (Reading, Plan to Read, Completed, etc.).
* Update only the Reading category by navigating to **More -> Settings -> Library -> Global update** and then tap **Categories**.
* Update only the Reading category by navigating to <nav to="library">, then tap **Categories** under **Global update**.
* If the warning persists, create a new category for infrequently updated entries (like monthly series or those on hiatus) and set global updates to target the more frequently updated reading category.
## How Can I Ignore Duplicate Chapters?
@ -41,7 +41,7 @@ Dealing with series translated by multiple groups that result in duplicate chapt
Bookmark or mark as read the undesired chapters, then open the **Filter** menu, ensure you're on the **Filter** tab, then double-tap **Bookmarked** or single-tap **Unread**.
This hides bookmarked or read chapters, enabling you to skip them as you read.
Ensure [Skip filtered chapters](/docs/guides/reader-settings#skip-filtered-chapters) is enabled at **More -> Settings -> Reader** under the section **Reading**.
Ensure [Skip filtered chapters](/docs/guides/reader-settings#skip-filtered-chapters) is enabled at <nav to="reader"> under the section **Reading**.
Alternatively, migrate to a source without duplicates.
Refer to the [migration guide](/docs/guides/source-migration) for detailed instructions.
@ -49,7 +49,7 @@ Refer to the [migration guide](/docs/guides/source-migration) for detailed instr
## Why Are Some Cover Thumbnails Corrupted or Blank?
If cover thumbnails appear corrupted, blank, or broken, it's likely due to an incomplete download. Fix this by refreshing the covers in settings.
Refresh your covers at **More -> Settings -> Advanced** then tap **Refresh library covers**.
Refresh your covers at <nav to="advanced"> then tap **Refresh library covers**.
## Why Have Some Series Chapters Been Marked as Unread?
If certain series chapters are marked as unread without your interaction, it could be due to changed URLs.

View File

@ -21,7 +21,7 @@ It should be considered if you wish to bypass installation prompts during extens
## Setting Up Shizuku
To set up **Shizuku**, follow the instructions [here](https://shizuku.rikka.app/guide/setup/).
After configuring it, activate **Shizuku** within **Tachiyomi** by navigating to **More -> Settings -> Advanced** then changing the **Installer** setting.
After configuring it, activate **Shizuku** within **Tachiyomi** by navigating to <nav to="advanced"> then changing the **Installer** setting.
## Comparing Installers
Three installer options are available:

View File

@ -56,7 +56,7 @@ When prompted while installing your first extension, allow unknown apps installa
Uninstall extensions like regular apps: through device settings or in **Tachiyomi**.
::: tip Uninstalling an Extension
In **Tachiyomi**, uninstall an extension via **Browse -> Extensions**, then tap **Uninstall** on the chosen extension.
In **Tachiyomi**, uninstall an extension via <nav to="extensions">, then tap **Uninstall** on the chosen extension.
:::
## Removed Extensions

View File

@ -10,19 +10,19 @@ Frequently Asked Questions that don't fit other categories.
Forks are alternate **Tachiyomi** versions with distinct features. Get more details here.
## Pausing Reading History or Going Incognito
Activate **Incognito Mode** through **More -> Incognito Mode**.
Activate **Incognito Mode** through <nav to="incognito-mode">.
## Reading Downloaded Chapters Only
Activate **Download only** via **More -> Download only**.
Activate **Download only** via <nav to="downloaded-only">.
## Understanding DNS over HTTPS
**DNS over HTTPS (DoH)** offers secure DNS resolution through HTTPS, preventing attacks.
Learn more [here](https://www.cloudflare.com/learning/dns/dns-over-tls/).
Enable in **More -> Settings -> Advanced**.
Enable in <nav to="advanced">.
## Screenshots Blocked?
Turn off **Secure Screen** in **More -> Settings -> Security -> Secure Screen**.
Turn off **Secure Screen** in <nav to="security-and-privacy">.
## Automatic Library Backup and Data Transfer
Learn about automatic backup and restore [here](/docs/guides/backups) and enabling auto backups [here](/docs/guides/backups#enabling-automatic-backups).

View File

@ -20,7 +20,7 @@ Backups store the following information:
- Author, Artist, Date Added to Library, Selected Viewer, Read Duration, etc.
::: tip How to create a backup
1. Go to **More -> Backup and Restore**.
1. Go to <nav to="backup-and-restore">.
1. Select **Create backup** and choose a location to save it.
![Backup and Restore](/docs/guides/backups/backup.light.webp#light =414x215)
@ -45,7 +45,7 @@ You can transfer downloaded series chapters from one version of **Tachiyomi** to
It is highly recommended to enable automatic backups to ensure you can recover in case of any issues.
::: tip How to enable automatic backups
1. Go to **More -> Settings -> Backup**.
1. Go to <nav to="backup-and-restore">.
1. Set a **backup frequency** to schedule automatic backups.
This way, you can recover from catastrophic failures.

View File

@ -16,7 +16,7 @@ Organize your favorite series effortlessly with categories that declutter and st
There are various things you can do to categories to help enhance your library.
To makes changes to your categories, first navigate to **More -> Categories**.
To makes changes to your categories, first navigate to <nav to="categories">.
:::: tabs
== Create

View File

@ -19,7 +19,7 @@ This page explores some advanced features.
1. Place correctly structured series inside `/Tachiyomi/local/`.
> If adding series in folders it is recommended to add a file named `.nomedia` to the local folder so images do not show up in the gallery.
1. You should now be able to access the series in Browse -> **Local source**.
1. You should now be able to access the series in <nav to="sources"> under **Local source**.
If you add more chapters then you'll have to manually refresh the chapter list (by pulling down the list).

View File

@ -41,15 +41,6 @@ You will need to remove these manually with a file manager.
1. Select the **Source** you'd like to migrate _to_ by tapping the **Series** thumbnail.
1. Choose which data you want to transfer over, and you're done.
:::tip Searching only pinned sources
You can restrict global searching to pinned sources if you wish to declutter your search.
To do this, go to **More -> Settings -> Browse** then toggle the **Only include pinned sources** setting.
Pin sources in Browse using the pin icon next to the source name.
:::
==TachiyomiJ2K
### Migrating multiple Series

View File

@ -27,7 +27,7 @@ Tracking helps you automatically send read chapters to supported trackers, so yo
- Works with **Komga** sources only.
- Two-way sync for local chapters.
- Manually read chapter syncs with delay.
- Auto-track on library add: **More -> Settings -> Tracking**.
- Auto-track on library add: <nav to="tracking">.
> Learn how to set it up on the [Komga](https://komga.org/) website.
==Kavita
@ -44,7 +44,7 @@ TBA
### How do I login into trackers?
1. Go to **More -> Settings -> Tracking**.
1. Go to <nav to="tracking">.
1. Tap the desired tracker to begin login.
### How do I set up tracking for each series?
@ -72,5 +72,5 @@ Related GitHub issue: [#65](https://github.com/tachiyomiorg/tachiyomi/issues/65)
:::
### Check Tracked/Untracked Series in Library
Go to **Library -> Tap Filter (top right) -> Go to Filter tab -> Toggle Tracked**.
Go to <nav to="main_library">, then **Filter (top right) -> Filter tab** then **Toggle Tracked**.
If you are logged into more than one tracker, toggle the tracker you want to include or exclude.

View File

@ -24,7 +24,7 @@ Sources being slow could stem from site slowness, your internet, or source-impos
### Reading is laggy
* Caused by oversized images in chapters.
* For **32-bit color** users, try disabling in **More -> Settings -> Reader**.
* For **32-bit color** users, try disabling in <nav to="reader">.
* Free up RAM.
* Use sources with smaller images.
@ -49,7 +49,7 @@ These errors indicate connection issues. Possible causes include:
Try these solutions:
* Enable **More -> Settings -> Advanced -> DNS over HTTPS**.
* Enable **DNS over HTTPS** under <nav to="advanced">.
* Change network (Wi-Fi, mobile data, VPN).
* Reboot router.
@ -60,7 +60,7 @@ Try these solutions:
* Check expired certificate, use SSL checker.
* Set correct device date and time.
* In **More -> Settings -> Advanced**, try **Clear cache** and **Clear cookies**.
* In <nav to="advanced">, try **Clear cache** and **Clear cookies**.
* Change network (Wi-Fi, mobile data, VPN).
* Reboot device.

View File

@ -10,8 +10,8 @@ Follow these steps to troubleshoot and find solutions.
## Primary diagnosis
1. **Update Extensions**: Check **Browse -> Extensions** for updates, no pending updates should be present.
1. **Update App**: Go to **More -> About** and tap **Check for updates**.
1. **Update Extensions**: Check <nav to="extensions"> for updates, no pending updates should be present.
1. **Update App**: Go to <nav to="about"> and tap **Check for updates**.
1. **Manual Series Refresh**: Drag down to manually refresh problematic series.
1. **Test Other Series**: Try different series from the same source.
1. **Update WebView**: Ensure your WebView is current.
@ -20,7 +20,7 @@ Follow these steps to troubleshoot and find solutions.
1. **Collaborative Check**: Get others to replicate the error.
1. **Source Status**: Verify the source's status in a browser.
1. **Retry Button**: Look for a retry button on the series page.
1. **Advanced Settings**: Under **More -> Settings -> Advanced**, try these options:
1. **Advanced Settings**: Under <nav to="advanced">, try these options:
- Clear Cache
- Clear Cookies
- Clear Database

View File

@ -33,7 +33,7 @@ Alternatively, try opening the website in your browser using the **Overflow** ic
### Clearing cookies and WebView data
::: info Clearing cookies and WebView data
1. Navigate to **More -> Settings -> Advanced**.
1. Navigate to <nav to="advanced">.
1. Tap **Clear cookies**.
1. Tap **Clear WebView data**.
:::
@ -76,7 +76,7 @@ A user agent string shares requester information with websites, potentially affe
While some sources have specific user agent strings, most rely on the app's default.
::: info Changing your user agent
1. Navigate to **More -> Settings -> Advanced**.
1. Navigate to <nav to="advanced">.
1. Modify **Default user agent string** to another value.
> [Here's a reference](https://www.whatismybrowser.com/guides/the-latest-user-agent/).
1. Restart the app and retry source access.
@ -92,7 +92,7 @@ Wait for the source to lower its protection or switch to different sources.
To diagnose abnormal app behavior, record device logs using a [Logcat Reader](https://play.google.com/store/apps/details?id=com.dp.logcatapp).
### Obtaining Crash Logs
For crash investigations, navigate to **More -> Settings -> Advanced** and tap **Dump crash logs**.
For crash investigations, navigate to <nav to="advanced"> and tap **Dump crash logs**.
![Dump crashlogs](/docs/guides/troubleshooting/dump-crash-logs.dark.webp =512x386)

View File

@ -7,8 +7,9 @@ description: Area to test and demonstrate different features and capabilities.
## Shortcodes
### Examples
::: info Example
To find all available menus, go to <nav to="more">.
To find all available menus, go to <nav to="main_more">.
:::
::: info Example: Deep nesting
@ -18,3 +19,59 @@ Ensure **Skip filtered chapters** is enabled at <nav to="reader"> under the sect
::: info Example: Deep nesting 2
In <nav to="advanced">, try **Clear cache** and **Clear cookies**.
:::
### Full list
```html
<nav to="main_library">
<nav to="main_updates">
<nav to="main_history">
<nav to="main_browse">
<nav to="main_more">
<nav to="downloaded-only">
<nav to="incognito-mode">
<nav to="download-queue">
<nav to="categories">
<nav to="statistics">
<nav to="backup-and-restore">
<nav to="settings">
<nav to="about">
<nav to="help">
<nav to="appearance">
<nav to="library">
<nav to="downloads">
<nav to="tracking">
<nav to="browse">
<nav to="security-and-privacy">
<nav to="reader">
<nav to="advanced">
```
- <nav to="main_library">
- <nav to="main_updates">
- <nav to="main_history">
- <nav to="main_browse">
- <nav to="main_more">
- <nav to="downloaded-only">
- <nav to="incognito-mode">
- <nav to="download-queue">
- <nav to="categories">
- <nav to="statistics">
- <nav to="backup-and-restore">
- <nav to="settings">
- <nav to="about">
- <nav to="help">
- <nav to="appearance">
- <nav to="library">
- <nav to="downloads">
- <nav to="tracking">
- <nav to="browse">
- <nav to="security-and-privacy">
- <nav to="reader">
- <nav to="advanced">
<style lang="stylus" scoped>
#full-list + div + ul {
padding-left: unset
list-style: none
}
</style>