summaryrefslogtreecommitdiff
path: root/docs/.vitepress/config.mts
blob: c96f8b6ca67530bdc9b42b152f765be8b613a271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import { defineConfig } from 'vitepress';
import { en } from './config/en';
import { ja } from './config/ja';

export default defineConfig({
  cleanUrls: true,
  description: 'Next-generation channel chat plugin for Paper/Velocity',
  head: [['link', { href: '/favicon.ico', rel: 'icon' }]],
  locales: {
    en: {
      label: 'English',
      lang: 'en-US',
      link: '/en/',
      themeConfig: en,
    },
    root: {
      label: '日本語',
      lang: 'ja-JP',
      themeConfig: ja,
    },
  },
  outDir: './dist',
  srcDir: './src',
  themeConfig: {
    socialLinks: [
      { icon: 'github', link: 'https://github.com/m1sk9/LunaticChat' },
    ],
  },
  title: 'LunaticChat Docs',
  titleTemplate: 'LunaticChat',
  vite: {
    publicDir: '../.vitepress/public',
  },
});