docs/.vitepress/configs/constants.ts
224 lines · 6565 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:zap"></span> Quick Start',
19 link: '/qs'
20 },
21 {
22 text: '<span class="i-lucide:message-circle-question"></span> FAQs',
23 link: '/faq'
24 },
25 {
26 text: '<span class="i-lucide:earth"></span> Websites',
27 link: '/websites'
28 },
29 {
30 text: '<span class="i-lucide:box"></span> Software',
31 link: '/software'
32 },
33 {
34 text: '<span class="i-lucide:folder-open"></span> Misc-sites',
35 link: '/misc'
36 },
37 {
38 text: '<span class="i-lucide:wrench"></span> Tools',
39 link: '/tools'
40 },
41 {
42 text: '<span class="i-lucide:brush"></span> Art',
43 link: '/art'
44 },
45 {
46 text: '<span class="i-lucide:music"></span> Music',
47 link: '/music'
48 },
49 {
50 text: '<span class="i-lucide:gamepad-2"></span> Games',
51 link: '/games'
52 },
53 {
54 text: '<span class="i-lucide:map"></span> Non-English',
55 link: '/nonen'
56 },
57 {
58 text: '<span class="i-lucide:ban"></span> NSFW',
59 link: '/nsfw'
60 },
61 {
62 text: '<span class="i-lucide:package-2"></span> Merch',
63 link: '/merch'
64 },
65 {
66 text: '<span class="i-lucide:scroll-text"></span> Scanlation',
67 link: '/scanlation'
68 },
69 {
70 text: '<span class="i-twemoji-comet"></span> VTuber',
71 link: '/vtuber'
72 },
73 {
74 text:
75 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:puzzle"></span> Extensions',
76 collapsed: true,
77 link: '/ext',
78 items: [
79 { text: 'Mihon & Aniyomi', link: '/ext/mihon' },
80 { text: 'Mangayomi', link: '/ext/mangayomi' },
81 { text: 'iOS apps', link: '/ext/ios' },
82 { text: 'Miscellaneous', link: '/ext/misc' }
83 ]
84 },
85 {
86 text:
87 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-key"></span> Guides',
88 collapsed: true,
89 link: '/guides',
90 items: [
91 {
92 text: 'Anime',
93 collapsed: true,
94 items: [
95 { text: 'Disc Ripping', link: '/guides/anime/discrip' },
96 { text: 'Network Streaming', link: '/guides/anime/ns' }
97 ]
98 },
99 {
100 text: 'Manga',
101 collapsed: true,
102 items: [
103 { text: 'Cubari guide', link: '/guides/manga/cubari' },
104 { text: 'Digital Comic Info', link: '/guides/manga/comicinfo' },
105 { text: 'Downloading Manga', link: '/guides/manga/mdl' },
106 { text: 'JXL Manga Readers', link: '/guides/manga/jxl' },
107 { text: 'Madokami', link: '/guides/manga/madokami' },
108 { text: 'Manga Image Editing', link: '/guides/manga/imagedit' },
109 { text: 'OPDS to E-reader', link: '/guides/manga/opds' }
110 ]
111 },
112 {
113 text: 'Music',
114 collapsed: true,
115 items: [
116 { text: 'Echo', link: '/guides/music/echo' },
117 { text: 'FB2K Synced Lyrics', link: '/guides/music/fb2klyrics' },
118 { text: 'Transcoding Audio', link: '/guides/music/transcoding' }
119 ]
120 },
121 {
122 text: 'Technical',
123 collapsed: true,
124 items: [
125 { text: 'Blocking Ads', link: '/guides/tech/adblock' },
126 { text: 'JDL2 Ad-removal', link: '/guides/tech/jdl' }
127 ]
128 }
129 ]
130 },
131 {
132 text:
133 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-open"></span> Glossary',
134 collapsed: true,
135 link: '/glossary',
136 items: [
137 { text: 'General', link: '/glossary/general' },
138 { text: 'Anime', link: '/glossary/anime' },
139 { text: 'Manga', link: '/glossary/manga' },
140 { text: 'Audio', link: '/glossary/audio' },
141 { text: 'NSFW', link: '/glossary/nsfw' }
142 ]
143 },
144 {
145 text:
146 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:magnet"></span> Torrenting',
147 collapsed: true,
148 link: '/torrenting',
149 items: [
150 { text: 'Getting Started', link: '/torrenting/start' },
151 { text: 'FAQs', link: '/torrenting/faq' },
152 { text: 'Glossary', link: '/torrenting/glossary' },
153 { text: 'qBittorrent', link: '/torrenting/qbit' },
154 { text: `Trackers`, link: '/torrenting/trackers' }
155 ]
156 },
157 {
158 text:
159 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
160 collapsed: true,
161 link: '/japan',
162 items: [
163 { text: 'Language', link: '/japan/language' },
164 { text: 'Immersion', link: '/japan/immersion' },
165 { text: 'Software', link: '/japan/software' },
166 { text: 'Culture', link: '/japan/culture' }
167 ]
168 },
169 {
170 text: '<span class="i-lucide:messages-square"></span> Communities',
171 link: '/comms'
172 },
173 {
174 text: '<span class="i-lucide:heart-handshake"></span> Credits',
175 link: '/credits'
176 },
177 {
178 text: '<span class="i-lucide:goal"></span> Getting Started',
179 link: '/start'
180 }
181]
182
183export const siteConfig = {
184 title: 'Wotaku',
185 description:
186 'Wotaku, the one-stop-shop for all your otaku interests. Here you can find websites for Anime, Manga, Light Novels, Music, Soundtracks, Games and Hentai. Our japanese learning section has books and videos about language, history and culture.',
187 lang: 'en-US',
188 lastUpdated: true,
189 cleanUrls: true,
190 ignoreDeadLinks: true,
191 appearance: true,
192 titleTemplate: ':title • Wotaku.wiki by Duck',
193 head: [
194 ['meta', { name: 'theme-color', content: '#56b4fc' }],
195 ['meta', { name: 'og:type', content: 'website' }],
196 ['meta', { name: 'og:locale', content: 'en' }],
197 ['link', { rel: 'icon', href: '/asset/fav.png' }],
198 // PWA
199 ['link', { rel: 'icon', href: '/asset/fav.png', type: 'image/svg+xml' }],
200 ['link', { rel: 'alternate icon', href: '/asset/fav.png' }],
201 ['link', { rel: 'mask-icon', href: '/asset/fav.png', color: '#56b4fc' }],
202 // prettier-ignore
203 [
204 'meta',
205 {
206 name: 'keywords',
207 content:
208 'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
209 }
210 ],
211 [
212 'link',
213 {
214 rel: 'apple-touch-icon',
215 href: '/asset/fav.png',
216 sizes: '192x192'
217 }
218 ]
219 ],
220 srcExclude: ['README.md', 'sandbox/**/*.md'],
221 sitemap: {
222 hostname: hostname
223 }
224}