forked from Vaskivskyi/docs-asusrouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.ts
53 lines (52 loc) · 1.45 KB
/
sidebar.ts
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
import type { SidebarConfig } from "@vuepress/theme-default"
import { getFiles, getFilesPushFront, getFilesRev } from "./navbar";
import { default as deviceList } from "./docs/devices/map.json" assert { type: "json" }
export const sidebar: SidebarConfig = {
"/guide/": [
{
text: "Getting started",
link: "/guide/getting-started/",
},
{
text: "Configuration",
link: "/guide/configuration/",
children: [
"/guide/configuration/operation-mode.md",
"/guide/configuration/time-constants.md",
"/guide/configuration/network-interfaces.md",
"/guide/configuration/events.md",
"/guide/configuration/security.md",
]
},
{
text: "How To",
link: "/guide/how-to/",
children: getFiles("guide/how-to"),
},
{
text: "FAQ",
link: "/guide/faq/",
},
],
"/features/": [
{
text: "Features",
link: "/features/",
children: getFilesPushFront("features", ["main.md"]),
},
],
"/devices/": [
{
text: "Supported devices",
link: "/devices/",
children: deviceList,
},
],
"/log/": [
{
text: "Change log",
link: "/log/",
children: getFilesRev("log")
},
],
};