Skip to content

Commit 12489cb

Browse files
committed
πŸ“ Add some content
1 parent 4e86fe6 commit 12489cb

29 files changed

+1947
-198
lines changed

β€Ž.prettierrc.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: Simon Schneegans <[email protected]>
2+
# SPDX-License-Identifier: CC0-1.0
3+
4+
trailingComma: 'es5'
5+
printWidth: 90
6+
semi: true
7+
singleQuote: true
8+
bracketSameLine: true
9+
singleAttributePerLine: false
10+
useTabs: false
11+
tabWidth: 2

β€Žastro.config.mjs

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
// @ts-check
22
import starlight from '@astrojs/starlight';
3-
import {defineConfig} from 'astro/config';
3+
import icon from 'astro-icon';
4+
import { defineConfig } from 'astro/config';
45

56
// https://astro.build/config
67
export default defineConfig({
78
site: 'https://kando.menu',
89
integrations: [
10+
icon(),
911
starlight({
1012
title: 'Kando',
1113
logo: {
1214
src: './src/assets/kando.svg',
1315
alt: 'Kando Logo',
1416
},
1517
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/',
1819
},
1920
social: {
2021
github: 'https://github.com/kando-menu/kando',
@@ -24,20 +25,44 @@ export default defineConfig({
2425
sidebar: [
2526
{
2627
label: 'Getting Started',
27-
autogenerate: {directory: 'getting-started'},
28+
autogenerate: { directory: 'getting-started' },
2829
},
2930
{
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' },
3262
},
33-
{label: 'Changelog', link: '/changelog'},
34-
{label: 'Code of Conduct', link: '/code-of-conduct'},
3563
],
3664
lastUpdated: true,
37-
customCss: [
38-
// Relative path to your custom CSS file
39-
'./src/styles/custom.css',
40-
],
65+
customCss: ['./src/styles/custom.css'],
4166
}),
4267
],
4368
});

0 commit comments

Comments
Β (0)