summaryrefslogtreecommitdiffstats
path: root/docs/.vitepress/config.mts
blob: 315304979be8a58de43776cddd41552a50b50a82 (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
import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "Minimal Neovim Wrapper",
  description: "",
  // base: "/mnw/", // Manually pass with --base
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    search: {
      provider: 'local'
    },
    sidebar: [
      {
        items: [
          { text: 'Home', link: '/index' },
          { text: 'Usage', link: '/usage' },
          { text: 'Options', link: '/options' },
          { text: 'Examples', link: '/examples' },
        ],
      },
    ],

    socialLinks: [
      { icon: 'github', link: 'https://github.com/Gerg-L/mnw' }
    ],

    outline: {
      level: "deep",
    },
  },
  vite: {
    ssr: {
      noExternal: 'easy-nix-documentation',
    }
  }
})