docs/.vitepress/configs/constants.ts
210 lines · 6049 bytes
1/**
2 * All Rights Reserved
3 *
4 * Copyright (c) 2025 taskylizard
5 *
6 * All rights reserved. This code and its associated files may not be copied, modified, distributed, sublicensed, or used in any form, in whole or in part, without prior written permission from the copyright holder.
7 */
8import type { DefaultTheme } from 'vitepress'
9
10export const hostname: string = 'https://wotaku.wiki'
11export const excludedFiles = ['t.md', 'sandbox.md']
12
13// @unocss-include
14export const nav: DefaultTheme.NavItem[] = []
15
16export const sidebar: DefaultTheme.Sidebar = [
17 {
18 text: '<span class="i-lucide:earth"></span> Websites',
19 link: '/websites'
20 },
21 {
22 text: '<span class="i-lucide:box"></span> Software',
23 link: '/software'
24 },
25 {
26 text: '<span class="i-lucide:folder-open"></span> Misc-sites',
27 link: '/misc'
28 },
29 {
30 text: '<span class="i-lucide:wrench"></span> Tools',
31 link: '/tools'
32 },
33 {
34 text: '<span class="i-lucide:brush"></span> Art',
35 link: '/art'
36 },
37 {
38 text: '<span class="i-lucide:music"></span> Music',
39 link: '/music'
40 },
41 {
42 text: '<span class="i-lucide:gamepad-2"></span> Games',
43 link: '/games'
44 },
45 {
46 text: '<span class="i-lucide:map"></span> Non-English',
47 link: '/nonen'
48 },
49 {
50 text: '<span class="i-lucide:ban"></span> NSFW',
51 link: '/nsfw'
52 },
53 {
54 text: '<span class="i-lucide:package-2"></span> Merch',
55 link: '/merch'
56 },
57 {
58 text: '<span class="i-twemoji-comet"></span> VTuber',
59 link: '/vtuber'
60 },
61 {
62 text:
63 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions',
64 collapsed: true,
65 link: '/ext',
66 items: [
67 { text: 'Mihon & Aniyomi', link: '/ext/mihon' },
68 { text: 'Mangayomi', link: '/ext/mangayomi' },
69 { text: 'iOS apps', link: '/ext/ios' },
70 { text: 'Miscellaneous', link: '/ext/misc' }
71 ]
72 },
73 {
74 text:
75 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-key"></span> Guides',
76 collapsed: true,
77 link: '/guides',
78 items: [
79 {
80 text: 'Anime',
81 collapsed: true,
82 items: [
83 { text: 'Disc Ripping', link: '/guides/anime/discrip' },
84 ]
85 },
86 {
87 text: 'Manga',
88 collapsed: true,
89 items: [
90 { text: 'Cubari guide', link: '/guides/manga/cubari' },
91 { text: 'Digital Comic Info', link: '/guides/manga/comicinfo' },
92 { text: 'Downloading Manga', link: '/guides/manga/mdl' },
93 { text: 'JXL Manga Readers', link: '/guides/manga/jxl' },
94 { text: 'Madokami', link: '/guides/manga/madokami' },
95 { text: 'Manga Image Editing', link: '/guides/manga/imagedit' },
96 { text: 'OPDS to E-reader', link: '/guides/manga/opds' }
97 ]
98 },
99 {
100 text: 'Music',
101 collapsed: true,
102 items: [
103 { text: 'Transcoding Audio', link: '/guides/music/transcoding' }
104 ]
105 },
106 {
107 text: 'Technical',
108 collapsed: true,
109 items: [
110 { text: 'Blocking Ads', link: '/guides/tech/adblock' },
111 { text: 'JDL2 Ad-removal', link: '/guides/tech/jdl' }
112 ]
113 }
114 ]
115 },
116 {
117 text:
118 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-open"></span> Glossary',
119 collapsed: true,
120 link: '/glossary',
121 items: [
122 { text: 'General', link: '/glossary/general' },
123 { text: 'Anime', link: '/glossary/anime' },
124 { text: 'Manga', link: '/glossary/manga' },
125 { text: 'Audio', link: '/glossary/audio' },
126 { text: 'NSFW', link: '/glossary/nsfw' }
127 ]
128 },
129 {
130 text:
131 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:magnet"></span> Torrenting',
132 collapsed: true,
133 link: '/torrenting',
134 items: [
135 { text: 'Getting Started', link: '/torrenting/start' },
136 { text: 'FAQs', link: '/torrenting/faq' },
137 { text: 'Glossary', link: '/torrenting/glossary' },
138 { text: 'Nyaa', link: '/torrenting/nyaa' },
139 { text: 'qBittorrent', link: '/torrenting/qbit' },
140 { text: `Trackers`, link: '/torrenting/trackers' }
141 ]
142 },
143 {
144 text:
145 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
146 collapsed: true,
147 link: '/japan',
148 items: [
149 { text: 'Language', link: '/japan/language' },
150 { text: 'Immersion', link: '/japan/immersion' },
151 { text: 'Software', link: '/japan/software' },
152 { text: 'Culture', link: '/japan/culture' }
153 ]
154 },
155 {
156 text: '<span class="i-lucide:message-circle-question"></span> FAQs',
157 link: '/faq'
158 },
159 {
160 text: '<span class="i-lucide:messages-square"></span> Communities',
161 link: '/comms'
162 },
163 {
164 text: '<span class="i-lucide:heart-handshake"></span> Credits',
165 link: '/credits'
166 }
167]
168
169export const siteConfig = {
170 title: 'Wotaku',
171 description:
172 'Wotaku, your hub for all otaku interests. We list websites for Anime, Manga, Light Novels, Music, Games and Hentai, also Aniyomi and Mihon extensions.',
173 lang: 'en-US',
174 lastUpdated: true,
175 cleanUrls: true,
176 ignoreDeadLinks: true,
177 appearance: true,
178 titleTemplate: ':title • Wotaku.wiki by Duck',
179 head: [
180 ['meta', { name: 'theme-color', content: '#56b4fc' }],
181 ['meta', { name: 'og:type', content: 'website' }],
182 ['meta', { name: 'og:locale', content: 'en' }],
183 ['link', { rel: 'icon', href: '/asset/fav.svg' }],
184 // PWA
185 ['link', { rel: 'icon', href: '/asset/fav.svg', type: 'image/svg+xml' }],
186 ['link', { rel: 'alternate icon', href: '/asset/fav.svg' }],
187 ['link', { rel: 'mask-icon', href: '/asset/fav.svg', color: '#56b4fc' }],
188 // prettier-ignore
189 [
190 'meta',
191 {
192 name: 'keywords',
193 content:
194 'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
195 }
196 ],
197 [
198 'link',
199 {
200 rel: 'apple-touch-icon',
201 href: '/asset/fav.svg',
202 sizes: '192x192'
203 }
204 ]
205 ],
206 srcExclude: ['README.md', 'sandbox/**/*.md'],
207 sitemap: {
208 hostname: hostname
209 }
210}