/
astro.config.mjs
135 lines (134 loc) · 3.85 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
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",
editLink: {
baseUrl:
"https://github.com/lycheeverse/lycheeverse.github.io/edit/master/",
},
logo: {
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: "/guides/github-action" },
{ label: "Docker", link: "/guides/docker" },
{ label: "Library Usage", link: "/usage/library" },
{ label: "Comparison", link: "/comparison/" },
],
},
{
label: "Configuration",
items: [
{ label: "Command Line Options", link: "/usage/cli" },
{ label: "Configuration File", link: "/usage/config" },
],
},
{
label: "Recipes",
items: [
{ label: "Filtering Links", link: "/recipes/filtering-links" },
{ label: "Excluding Paths", link: "/recipes/excluding-paths" },
{ label: "Relative Links", link: "/recipes/relative-links" },
{ label: "Migrating Websites", link: "/recipes/migration" },
],
},
{
label: "GitHub Action Recipes",
items: [
{
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: "Trouble Shooting Guide",
items: [
{ label: "Rate Limits", link: "/troubleshooting/rate-limits" },
{
label: "Custom Headers",
link: "/troubleshooting/custom-headers",
},
{ label: "Mail Addresses", link: "/troubleshooting/mail" },
{
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",
},
],
},
],
}),
],
});