docs/.vitepress/configs/constants.ts

51c5500b0b2b218f1bc988b7ddd0e995eef4b14a
wotaku/docs/.vitepress/configs/constants.ts

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