-
Notifications
You must be signed in to change notification settings - Fork 7
/
astro.config.mjs
154 lines (153 loc) · 4.54 KB
/
astro.config.mjs
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
// https://astro.build/config
export default defineConfig({
site: "https://lychee.cli.rs",
integrations: [
starlight({
title: "Docs",
description:
"Official documentation for lychee - a fast, asynchronous link checker",
editLink: {
baseUrl:
"https://github.com/lycheeverse/lycheeverse.github.io/edit/master/",
},
logo: {
alt: "lychee Logo",
replacesTitle: true,
src: "./public/logo.svg",
},
social: {
github: "https://github.com/lycheeverse/lychee/",
},
customCss: ["./src/styles/index.css"],
sidebar: [
{
label: "Start Here",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Introduction", link: "/introduction" },
{ label: "Installation", link: "/installation" },
{ label: "GitHub Action", link: "/github-action" },
{ label: "Docker", link: "/docker" },
{ label: "Library Usage", link: "/library" },
{ label: "Comparison", link: "/comparison" },
],
},
{
label: "Configuration",
items: [
{ label: "Command Line Options", link: "/usage/cli" },
{ label: "Configuration File", link: "/usage/config" },
{ label: "Output Modes", link: "/usage/output" },
],
},
{
label: "Recipes",
items: [
{ label: "Anchor Links", link: "/recipes/anchors" },
{ label: "Caching", link: "/recipes/caching" },
{ label: "Excluding Links", link: "/recipes/excluding-links" },
{ label: "Excluding Paths", link: "/recipes/excluding-paths" },
{
label: "Remapping One URL to Another",
link: "/recipes/migration",
},
{ label: "Relative Links", link: "/recipes/relative-links" },
{ label: "Pretty URLs", link: "/recipes/pretty-urls" },
],
},
{
label: "GitHub Action Recipes",
items: [
{
label: "Check Links in Pull Requests",
link: "/github_action_recipes/pull-requests",
},
{
label: "Replace with Archived Links",
link: "/github_action_recipes/archived-links",
},
{
label: "Reuse GitHub Issue",
link: "/github_action_recipes/reuse-issue",
},
{
label: "Add Pull Request Comment",
link: "/github_action_recipes/add-pr-comment",
},
{
label: "Caching Requests",
link: "/github_action_recipes/caching",
},
],
},
{
label: "Troubleshooting Guide",
items: [
{ label: "Rate Limits", link: "/troubleshooting/rate-limits" },
{
label: "Custom Headers",
link: "/troubleshooting/custom-headers",
},
{ label: "Mail Addresses", link: "/troubleshooting/mail" },
{
label: "Network Errors",
link: "/troubleshooting/network-errors",
},
{
label: "Too Many Open Files",
link: "/troubleshooting/open-files",
},
{
label: "Too Many Redirects",
link: "/troubleshooting/redirects",
},
{
label: "Special Status Codes",
link: "/troubleshooting/status-codes",
},
],
},
{
label: "Lychee Development",
items: [
{
label: "How Lychee Works",
link: "/how-it-works",
},
{
label: "Contributing",
link: "/contributing",
},
],
},
{
label: "About Us",
items: [
{
label: "Sponsors",
link: "/sponsors",
},
{
label: "Credits",
link: "/credits",
},
{
label: "Community",
link: "/community",
},
{
label: "Users",
link: "/users",
},
{
label: "History",
link: "/history",
},
],
},
],
}),
],
});