-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.ts
54 lines (49 loc) · 1.22 KB
/
config.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
54
import { defineConfig } from "vitepress";
import { rules } from "./rulesForSidebar";
import { description, version } from "../../package.json";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "eslint-plugin-vuejs-a11y",
base: "/eslint-plugin-vuejs-accessibility/",
description,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{
text: version,
items: [
{
text: "Changelog",
link: "https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/blob/main/CHANGELOG.md"
}
]
}
],
sidebar: [
{
text: "Introduction",
items: [
{ text: "Getting Started", link: "/" },
{ text: "Rule Overview", link: "/rule-overview/index" }
]
},
{
text: "Rules",
items: rules
}
],
editLink: {
pattern:
"https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/edit/master/docs/:path"
},
socialLinks: [
{
icon: "github",
link: "https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility"
}
],
search: {
provider: "local"
}
}
});