1
1
// @ts -check
2
2
import starlight from '@astrojs/starlight' ;
3
- import { defineConfig } from 'astro/config' ;
3
+ import icon from 'astro-icon' ;
4
+ import { defineConfig } from 'astro/config' ;
4
5
5
6
// https://astro.build/config
6
7
export default defineConfig ( {
7
8
site : 'https://kando.menu' ,
8
9
integrations : [
10
+ icon ( ) ,
9
11
starlight ( {
10
12
title : 'Kando' ,
11
13
logo : {
12
14
src : './src/assets/kando.svg' ,
13
15
alt : 'Kando Logo' ,
14
16
} ,
15
17
editLink : {
16
- baseUrl :
17
- 'https://github.com/kando-menu/kando-menu.github.io/edit/main/' ,
18
+ baseUrl : 'https://github.com/kando-menu/kando-menu.github.io/edit/main/' ,
18
19
} ,
19
20
social : {
20
21
github : 'https://github.com/kando-menu/kando' ,
@@ -24,20 +25,44 @@ export default defineConfig({
24
25
sidebar : [
25
26
{
26
27
label : 'Getting Started' ,
27
- autogenerate : { directory : 'getting-started' } ,
28
+ autogenerate : { directory : 'getting-started' } ,
28
29
} ,
29
30
{
30
- label : 'Reference' ,
31
- autogenerate : { directory : 'reference' } ,
31
+ label : 'Advanced Usage' ,
32
+ autogenerate : { directory : 'advanced-usage' } ,
33
+ } ,
34
+ {
35
+ label : 'Getting Involved' ,
36
+ autogenerate : { directory : 'getting-involved' } ,
37
+ } ,
38
+ {
39
+ label : 'API References' ,
40
+ autogenerate : { directory : 'reference' } ,
41
+ collapsed : true ,
42
+ } ,
43
+ {
44
+ label : 'Discord π' ,
45
+ link : 'https://discord.gg/hZwbVSDkhy' ,
46
+ attrs : { target : '_blank' } ,
47
+ } ,
48
+ {
49
+ label : 'Issue Tracker π' ,
50
+ link : 'https://github.com/kando-menu/kando/issues' ,
51
+ attrs : { target : '_blank' } ,
52
+ } ,
53
+ {
54
+ label : 'Changelog π' ,
55
+ link : 'https://github.com/kando-menu/kando/blob/main/docs/changelog.md' ,
56
+ attrs : { target : '_blank' } ,
57
+ } ,
58
+ {
59
+ label : 'Code of Conduct π' ,
60
+ link : 'https://github.com/kando-menu/kando/blob/main/docs/code-of-conduct.md' ,
61
+ attrs : { target : '_blank' } ,
32
62
} ,
33
- { label : 'Changelog' , link : '/changelog' } ,
34
- { label : 'Code of Conduct' , link : '/code-of-conduct' } ,
35
63
] ,
36
64
lastUpdated : true ,
37
- customCss : [
38
- // Relative path to your custom CSS file
39
- './src/styles/custom.css' ,
40
- ] ,
65
+ customCss : [ './src/styles/custom.css' ] ,
41
66
} ) ,
42
67
] ,
43
68
} ) ;
0 commit comments