@@ -5,104 +5,104 @@ import { generateFilesFromMainRepo } from "./src/generate/generate";
55
66// https://astro.build/config
77export default defineConfig ( {
8- site : "https://lychee.cli.rs" ,
9- markdown : {
10- remarkPlugins : [
11- // automatically converting smart dashes causes problems with cli arguments.
12- // to insert dashes, use unicode or — or –.
13- [ smartypants , { dashes : false } ] ,
14- ] ,
15- } ,
16- redirects : {
17- "/introduction" : "/overview/" ,
18- } ,
19- integrations : [
20- generateFilesFromMainRepo ( ) ,
21- starlight ( {
22- expressiveCode : {
23- themes : [ "catppuccin-frappe" , "catppuccin-latte" ] ,
24- } ,
25- title : "Docs" ,
26- description :
27- "Official documentation for lychee - a fast, asynchronous link checker" ,
28- editLink : {
29- baseUrl :
30- "https://github.com/lycheeverse/lycheeverse.github.io/edit/master/" ,
31- } ,
32- logo : {
33- alt : "lychee Logo" ,
34- replacesTitle : true ,
35- src : "./src/assets/logo.svg" ,
36- } ,
37- social : [
38- {
39- icon : "github" ,
40- label : "GitHub" ,
41- href : "https://github.com/lycheeverse/lychee/" ,
42- } ,
43- ] ,
44- customCss : [ "./src/styles/index.css" , "./src/fonts/font-face.css" ] ,
45- sidebar : [
46- {
47- label : "Overview" ,
48- link : "/overview" ,
49- } ,
50- {
51- label : "Guides" ,
52- items : [
53- "guides/getting-started" ,
54- "guides/cli" ,
55- "guides/config" ,
56- "guides/output" ,
57- "guides/preprocessing" ,
58- "guides/library" ,
59- ] ,
60- } ,
61- {
62- label : "Recipes" ,
63- items : [
64- "recipes/anchors" ,
65- "recipes/caching" ,
66- "recipes/excluding-links" ,
67- "recipes/excluding-paths" ,
68- "recipes/local-folder" ,
69- "recipes/migration" ,
70- "recipes/base-url" ,
71- "recipes/root-dir" ,
72- "recipes/pretty-urls" ,
73- "recipes/md-wikilinks" ,
74- ] ,
75- } ,
76- {
77- label : "Continuous integration" ,
78- items : [
79- "continuous-integration/github" ,
80- "continuous-integration/gitlab" ,
81- ] ,
82- } ,
83- {
84- label : "Troubleshooting" ,
85- items : [
86- "troubleshooting/rate-limits" ,
87- "troubleshooting/custom-headers" ,
88- "troubleshooting/mail" ,
89- "troubleshooting/network-errors" ,
90- "troubleshooting/open-files" ,
91- "troubleshooting/redirects" ,
92- "troubleshooting/status-codes" ,
93- ] ,
94- } ,
95- {
96- label : "Internals" ,
97- items : [
98- "internals/how-it-works" ,
99- "internals/contributing" ,
100- "internals/sponsors" ,
101- "internals/credits" ,
102- "internals/users" ,
103- ] ,
104- } ,
105- ] ,
106- } ) ,
107- ] ,
8+ site : "https://lychee.cli.rs" ,
9+ markdown : {
10+ remarkPlugins : [
11+ // automatically converting smart dashes causes problems with cli arguments.
12+ // to insert dashes, use unicode or — or –.
13+ [ smartypants , { dashes : false } ] ,
14+ ] ,
15+ } ,
16+ redirects : {
17+ "/introduction" : "/overview/" ,
18+ } ,
19+ integrations : [
20+ generateFilesFromMainRepo ( ) ,
21+ starlight ( {
22+ expressiveCode : {
23+ themes : [ "catppuccin-frappe" , "catppuccin-latte" ] ,
24+ } ,
25+ title : "Docs" ,
26+ description :
27+ "Official documentation for lychee - a fast, asynchronous link checker" ,
28+ editLink : {
29+ baseUrl :
30+ "https://github.com/lycheeverse/lycheeverse.github.io/edit/master/" ,
31+ } ,
32+ logo : {
33+ alt : "lychee Logo" ,
34+ replacesTitle : true ,
35+ src : "./src/assets/logo.svg" ,
36+ } ,
37+ social : [
38+ {
39+ icon : "github" ,
40+ label : "GitHub" ,
41+ href : "https://github.com/lycheeverse/lychee/" ,
42+ } ,
43+ ] ,
44+ customCss : [ "./src/styles/index.css" , "./src/fonts/font-face.css" ] ,
45+ sidebar : [
46+ {
47+ label : "Overview" ,
48+ link : "/overview" ,
49+ } ,
50+ {
51+ label : "Guides" ,
52+ items : [
53+ "guides/getting-started" ,
54+ "guides/cli" ,
55+ "guides/config" ,
56+ "guides/output" ,
57+ "guides/preprocessing" ,
58+ "guides/library" ,
59+ ] ,
60+ } ,
61+ {
62+ label : "Recipes" ,
63+ items : [
64+ "recipes/anchors" ,
65+ "recipes/caching" ,
66+ "recipes/excluding-links" ,
67+ "recipes/excluding-paths" ,
68+ "recipes/local-folder" ,
69+ "recipes/migration" ,
70+ "recipes/base-url" ,
71+ "recipes/root-dir" ,
72+ "recipes/pretty-urls" ,
73+ "recipes/md-wikilinks" ,
74+ ] ,
75+ } ,
76+ {
77+ label : "Continuous integration" ,
78+ items : [
79+ "continuous-integration/github" ,
80+ "continuous-integration/gitlab" ,
81+ ] ,
82+ } ,
83+ {
84+ label : "Troubleshooting" ,
85+ items : [
86+ "troubleshooting/rate-limits" ,
87+ "troubleshooting/custom-headers" ,
88+ "troubleshooting/mail" ,
89+ "troubleshooting/network-errors" ,
90+ "troubleshooting/open-files" ,
91+ "troubleshooting/redirects" ,
92+ "troubleshooting/status-codes" ,
93+ ] ,
94+ } ,
95+ {
96+ label : "Internals" ,
97+ items : [
98+ "internals/how-it-works" ,
99+ "internals/contributing" ,
100+ "internals/sponsors" ,
101+ "internals/credits" ,
102+ "internals/users" ,
103+ ] ,
104+ } ,
105+ ] ,
106+ } ) ,
107+ ] ,
108108} ) ;
0 commit comments