docs/.vitepress/configs/constants.ts

344597407e002916f58fa2555ea6ec3ebfcf6b13
wotaku/docs/.vitepress/configs/constants.ts

223 lines · 6600 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: 'Squidify', link: '/guides/music/squidify' },
117          { text: 'Transcoding Audio', link: '/guides/music/transcoding' }
118        ]
119      },
120      {
121        text: 'Technical',
122        collapsed: true,
123        items: [
124          { text: 'Blocking Ads', link: '/guides/tech/adblock' },
125          { text: 'JDL2 Ad-removal', link: '/guides/tech/jdl' }
126        ]
127      }
128    ]
129  },
130  {
131    text:
132      '<span class="mr-2 w-4 h-4 bg-cover i-lucide:book-open"></span> Glossary',
133    collapsed: true,
134    link: '/glossary',
135    items: [
136      { text: 'General', link: '/glossary/general' },
137      { text: 'Anime', link: '/glossary/anime' },
138      { text: 'Manga', link: '/glossary/manga' },
139      { text: 'Audio', link: '/glossary/audio' },
140      { text: 'NSFW', link: '/glossary/nsfw' }
141    ]
142  },
143  {
144    text:
145      '<span class="mr-2 w-4 h-4 bg-cover i-lucide:magnet"></span> Torrenting',
146    collapsed: true,
147    link: '/torrenting',
148    items: [
149      { text: 'Getting Started', link: '/torrenting/start' },
150      { text: 'FAQs', link: '/torrenting/faq' },
151      { text: 'Glossary', link: '/torrenting/glossary' },
152      { text: 'qBittorrent', link: '/torrenting/qbit' },
153      { text: `Trackers`, link: '/torrenting/trackers' }
154    ]
155  },
156  {
157    text:
158      '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
159    collapsed: true,
160    link: '/japan',
161    items: [
162      { text: 'Language', link: '/japan/language' },
163      { text: 'Immersion', link: '/japan/immersion' },
164      { text: 'Software', link: '/japan/software' },
165      { text: 'Culture', link: '/japan/culture' }
166    ]
167  },
168  {
169    text: '<span class="i-lucide:messages-square"></span> Communities',
170    link: '/comms'
171  },
172  {
173    text: '<span class="i-lucide:heart-handshake"></span> Credits',
174    link: '/credits'
175  },
176  {
177    text: '<span class="i-lucide:goal"></span> Getting Started',
178    link: '/start'
179  }
180]
181
182export const siteConfig = {
183  title: 'Wotaku',
184  description:
185    '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.',
186  lang: 'en-US',
187  lastUpdated: true,
188  cleanUrls: true,
189  ignoreDeadLinks: true,
190  appearance: true,
191  titleTemplate: ':title • Wotaku.wiki by Duck',
192  head: [
193    ['meta', { name: 'theme-color', content: '#56b4fc' }],
194    ['meta', { name: 'og:type', content: 'website' }],
195    ['meta', { name: 'og:locale', content: 'en' }],
196    ['link', { rel: 'icon', href: '/asset/fav.png' }],
197    // PWA
198    ['link', { rel: 'icon', href: '/asset/fav.png', type: 'image/svg+xml' }],
199    ['link', { rel: 'alternate icon', href: '/asset/fav.png' }],
200    ['link', { rel: 'mask-icon', href: '/asset/fav.png', color: '#56b4fc' }],
201    // prettier-ignore
202    [
203      'meta',
204      {
205        name: 'keywords',
206        content:
207          'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
208      }
209    ],
210    [
211      'link',
212      {
213        rel: 'apple-touch-icon',
214        href: '/asset/fav.png',
215        sizes: '192x192'
216      }
217    ]
218  ],
219  srcExclude: ['README.md', 'sandbox/**/*.md'],
220  sitemap: {
221    hostname: hostname
222  }
223}