docs/.vitepress/configs/constants.ts

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

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