docs/.vitepress/configs/constants.ts

2a9ff41b09725c1951e9a5a1095a2fded6bfb571
wotaku/docs/.vitepress/configs/constants.ts history · blame · raw

225 lines · 6525 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: 'Nyaa', link: '/torrenting/nyaa' },
154      { text: 'qBittorrent', link: '/torrenting/qbit' },
155      { text: `Trackers`, link: '/torrenting/trackers' }
156    ]
157  },
158    {
159    text:
160      '<span class="mr-2 w-4 h-4 bg-cover i-uil:letter-japanese-a"></span> Japan',
161    collapsed: true,
162    link: '/japan',
163    items: [
164      { text: 'Language', link: '/japan/language' },
165      { text: 'Immersion', link: '/japan/immersion' },
166      { text: 'Software', link: '/japan/software' },
167      { text: 'Culture', link: '/japan/culture' }
168    ]
169  },
170  {
171    text: '<span class="i-lucide:messages-square"></span> Communities',
172    link: '/comms'
173  },
174  {
175    text: '<span class="i-lucide:heart-handshake"></span> Credits',
176    link: '/credits'
177  },
178  {
179    text: '<span class="i-lucide:goal"></span> Getting Started',
180    link: '/start'
181  }
182]
183
184export const siteConfig = {
185  title: 'Wotaku',
186  description:
187    'Wotaku, your hub for all otaku interests. We list websites for Anime, Manga, Light Novels, Music, Games and Hentai, also Aniyomi and Mihon extensions.',
188  lang: 'en-US',
189  lastUpdated: true,
190  cleanUrls: true,
191  ignoreDeadLinks: true,
192  appearance: true,
193  titleTemplate: ':title • Wotaku.wiki by Duck',
194  head: [
195    ['meta', { name: 'theme-color', content: '#56b4fc' }],
196    ['meta', { name: 'og:type', content: 'website' }],
197    ['meta', { name: 'og:locale', content: 'en' }],
198    ['link', { rel: 'icon', href: '/asset/fav.png' }],
199    // PWA
200    ['link', { rel: 'icon', href: '/asset/fav.png', type: 'image/svg+xml' }],
201    ['link', { rel: 'alternate icon', href: '/asset/fav.png' }],
202    ['link', { rel: 'mask-icon', href: '/asset/fav.png', color: '#56b4fc' }],
203    // prettier-ignore
204    [
205      'meta',
206      {
207        name: 'keywords',
208        content:
209          'Anime, Anime Piracy, Manga, Manga Piracy, VTuber, Hentai, JPOP, Music, Japan, Learning Japanese, Weeb, Otaku'
210      }
211    ],
212    [
213      'link',
214      {
215        rel: 'apple-touch-icon',
216        href: '/asset/fav.png',
217        sizes: '192x192'
218      }
219    ]
220  ],
221  srcExclude: ['README.md', 'sandbox/**/*.md'],
222  sitemap: {
223    hostname: hostname
224  }
225}