We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4918877 commit ffa9ef2Copy full SHA for ffa9ef2
.vitepress/config.js
@@ -5,6 +5,9 @@ const base = process.env.GH_BASE || '/docs/'
5
import { defineConfig } from 'vitepress'
6
import languages from './languages'
7
import path from 'node:path'
8
+import { Menu } from './menu.js'
9
+
10
+const menu = await Menu.from ('./menu.md')
11
12
const config = defineConfig({
13
@@ -35,6 +38,8 @@ const config = defineConfig({
35
38
},
36
39
37
40
themeConfig: {
41
+ sidebar: menu.items,
42
+ nav: menu.navbar,
43
logo: '/cap-logo.svg',
44
outline: [2,3],
45
socialLinks: [
0 commit comments