-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathconfig.ts
84 lines (79 loc) · 1.76 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import { defineConfig } from "vitepress";
import { rules } from "./rulesForSidebar";
import { description, version } from "../../package.json";
import { BASE_URL } from "./constants";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "eslint-plugin-vuejs-a11y",
base: BASE_URL,
description,
head: [
[
"link",
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "https://vue-a11y.com/favicon/favicon-32x32.png"
}
],
[
"link",
{
rel: "icon",
type: "image/png",
sizes: "96x96",
href: "https://vue-a11y.com/favicon/favicon-96x96.png"
}
],
[
"link",
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "https://vue-a11y.com/favicon/favicon-16x16.png"
}
]
],
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/main/docs/:path"
},
socialLinks: [
{
icon: "github",
link: "https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility"
}
],
search: {
provider: "local"
}
}
});