summaryrefslogtreecommitdiff
path: root/docs/.vitepress/config.mts
blob: 4894ff9943ecb084547298c5200b0b9f8cc39562 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import { defineConfig } from 'vitepress';

export default defineConfig({
  title: 'LunaticChat Docs',
  titleTemplate: 'LunaticChat',
  description: 'Next-generation channel chat plugin for Paper/Velocity',
  lang: 'ja-JP',
  cleanUrls: true,
  srcDir: './src',
  outDir: './dist',
  head: [['link', { rel: 'icon', href: '/static/favicon.ico' }]],
  themeConfig: {
    nav: [
      { text: 'Guide', link: '/guide/getting-started' },
      { text: 'Reference', link: '/reference' },
    ],
    sidebar: {
      '/guide/': [
        {
          text: 'はじめる',
          link: '/guide/getting-started',
        },
        {
          text: '設定',
          link: '/guide/configuration',
        },
        {
          text: 'パーミッション',
          link: '/guide/permissions',
        },
        {
          text: 'ローマ字変換',
          link: '/guide/japanese-romanization',
        },
      ],
      '/reference/': [
        {
          text: 'コマンド',
          items: [
            {
              text: '/tell',
              link: '/reference/commands/tell',
            },
            {
              text: '/reply',
              link: '/reference/commands/reply',
            },
            {
              text: '/jp',
              link: '/reference/commands/jp',
            },
          ],
        },
      ],
    },
    editLink: {
      pattern: 'https://github.com/m1sk9/LunaticChat/edit/main/docs/:path',
      text: 'Edit this page on GitHub',
    },
    footer: {
      copyright: 'Copyright © 2026 m1sk9',
    },
    socialLinks: [
      { icon: 'github', link: 'https://github.com/m1sk9/LunaticChat' },
    ],
  },
});