docs/.vitepress/configs/constants.ts
222 lines · 6536 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: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 { text: 'Network Streaming', link: '/guides/anime/ns' }
85 ]
86 },
87 {
88 text: 'Manga',
89 collapsed: true,
90 items: [
91 { text: 'Cubari guide', link: '/guides/manga/cubari' },
92 { text: 'Digital Comic Info', link: '/guides/manga/comicinfo' },
93 { text: 'Downloading Manga', link: '/guides/manga/mdl' },
94 { text: 'JXL Manga Readers', link: '/guides/manga/jxl' },
95 { text: 'Madokami', link: '/guides/manga/madokami' },
96 { text: 'Manga Image Editing', link: '/guides/manga/imagedit' },
97 { text: 'OPDS to E-reader', link: '/guides/manga/opds' }
98 ]
99 },
100 {
101 text: 'Extension Repos',
102 collapsed: true,
103 items: [
104 { text: 'Mihon & Aniyomi', link: '/guides/ext/mihon' },
105 { text: 'Mangayomi', link: '/guides/ext/mangayomi' },
106 { text: 'iOS apps', link: '/guides/ext/ios' },
107 { text: 'Miscellaneous', link: '/guides/ext/misc' }
108 ]
109 },
110 {
111 text: 'Music',
112 collapsed: true,
113 items: [
114 { text: 'Echo', link: '/guides/music/echo' },
115 { text: 'FB2K Synced Lyrics', link: '/guides/music/fb2klyrics' },
116 { text: 'Transcoding Audio', link: '/guides/music/transcoding' }
117 ]
118 },
119 {
120 text: 'Technical',
121 collapsed: true,
122 items: [
123 { text: 'Blocking Ads', link: '/guides/tech/adblock' },
124 { text: 'JDL2 Ad-removal', link: '/guides/tech/jdl' }
125 ]
126 }
127 ]
128 },
129 {
130 text:
131 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-open"></span> Glossary',
132 collapsed: true,
133 link: '/glossary',
134 items: [
135 { text: 'General', link: '/glossary/general' },
136 { text: 'Anime', link: '/glossary/anime' },
137 { text: 'Manga', link: '/glossary/manga' },
138 { text: 'Audio', link: '/glossary/audio' },
139 { text: 'NSFW', link: '/glossary/nsfw' }
140 ]
141 },
142 {
143 text:
144 '<span class="mr-2 w-4 h-4 bg-cover i-lucide:magnet"></span> Torrenting',
145 collapsed: true,
146 link: '/torrenting',
147 items: [
148 { text: 'Getting Started', link: '/torrenting/start' },
149 { text: 'FAQs', link: '/torrenting/faq' },
150 { text: 'Glossary', link: '/torrenting/glossary' },
151 { text: 'qBittorrent', link: '/torrenting/qbit' },
152 { text: `Trackers`, link: '/torrenting/trackers' }
153 ]
154 },
155 {
156 text:
157 '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
158 collapsed: true,
159 link: '/japan',
160 items: [
161 { text: 'Language', link: '/japan/language' },
162 { text: 'Immersion', link: '/japan/immersion' },
163 { text: 'Software', link: '/japan/software' },
164 { text: 'Culture', link: '/japan/culture' }
165 ]
166 },
167 {
168 text: '<span class="i-lucide:messages-square"></span> Communities',
169 link: '/comms'
170 },
171 {
172 text: '<span class="i-lucide:heart-handshake"></span> Credits',
173 link: '/credits'
174 },
175 {
176 text: '<span class="i-lucide:goal"></span> Getting Started',
177 link: '/start'
178 }
179]
180
181export const siteConfig = {
182 title: 'Wotaku',
183 description:
184 '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.',
185 lang: 'en-US',
186 lastUpdated: true,
187 cleanUrls: true,
188 ignoreDeadLinks: true,
189 appearance: true,
190 titleTemplate: ':title • Wotaku.wiki by Duck',
191 head: [
192 ['meta', { name: 'theme-color', content: '#56b4fc' }],
193 ['meta', { name: 'og:type', content: 'website' }],
194 ['meta', { name: 'og:locale', content: 'en' }],
195 ['link', { rel: 'icon', href: '/asset/fav.png' }],
196 // PWA
197 ['link', { rel: 'icon', href: '/asset/fav.png', type: 'image/svg+xml' }],
198 ['link', { rel: 'alternate icon', href: '/asset/fav.png' }],
199 ['link', { rel: 'mask-icon', href: '/asset/fav.png', color: '#56b4fc' }],
200 // prettier-ignore
201 [
202 'meta',
203 {
204 name: 'keywords',
205 content:
206 'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
207 }
208 ],
209 [
210 'link',
211 {
212 rel: 'apple-touch-icon',
213 href: '/asset/fav.png',
214 sizes: '192x192'
215 }
216 ]
217 ],
218 srcExclude: ['README.md', 'sandbox/**/*.md'],
219 sitemap: {
220 hostname: hostname
221 }
222}