Skip to content

Commit aa61e3e

Browse files
authored
Merge pull request #5 from 28shettr/main
Setup Sidebar and servo stuff
2 parents c265f86 + c3d6f10 commit aa61e3e

19 files changed

Lines changed: 10439 additions & 89 deletions

.idea/caches/deviceStreaming.xml

Lines changed: 2193 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/markdown.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 153 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astro.config.mjs

Lines changed: 53 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,57 @@ import starlightThemeGalaxy from 'starlight-theme-galaxy';
55

66
// https://astro.build/config
77
export default defineConfig({
8-
site: 'https://beta.nextftc.dev',
9-
integrations: [
10-
starlight({
11-
title: 'NextFTC',
12-
logo: {
13-
light: './src/assets/nextftc-banner-light.png',
14-
dark: './src/assets/nextftc-banner-dark.png',
15-
replacesTitle: true,
16-
},
17-
favicon: '/favicon.svg',
18-
customCss: ['./src/styles/custom.css'],
19-
social: [
20-
{ icon: 'github', label: 'GitHub', href: 'https://github.com/NextFTC/NextFTCSuite' },
21-
{ icon: 'discord', label: 'Discord', href: 'https://nextftc.dev/discord' },
22-
],
23-
sidebar: [
24-
{
25-
label: 'Guides',
26-
items: [
27-
// Each item here is one entry in the navigation menu.
28-
{ label: 'Example Guide', slug: 'guides/example' },
29-
],
30-
},
31-
{
32-
label: 'Reference',
33-
items: [{ autogenerate: { directory: 'reference' } }],
34-
},
35-
],
36-
plugins: [starlightThemeGalaxy()]
37-
}),
38-
],
8+
site: 'https://beta.nextftc.dev',
9+
integrations: [
10+
starlight({
11+
title: 'NextFTC',
12+
logo: {
13+
light: './src/assets/nextftc-banner-light.png',
14+
dark: './src/assets/nextftc-banner-dark.png',
15+
replacesTitle: true,
16+
},
17+
favicon: '/favicon.svg',
18+
customCss: ['./src/styles/custom.css'],
19+
social: [
20+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/NextFTC/NextFTCSuite' },
21+
{ icon: 'discord', label: 'Discord', href: 'https://nextftc.dev/discord' },
22+
],
23+
sidebar: [
24+
{
25+
label: 'Guides',
26+
items: [
27+
// Each item here is one entry in the navigation menu.
28+
{ label: 'Example Guide', slug: 'guides/example' },
29+
],
30+
},
31+
{
32+
label: 'Hardware',
33+
items: [
34+
{
35+
label: 'Actuators',
36+
items: [{ autogenerate: { directory: 'hardware/actuators' } }],
37+
},
38+
{
39+
label: 'Sensors',
40+
items: [{ autogenerate: { directory: 'hardware/sensors' } }],
41+
},
42+
{
43+
label: 'Miscellaneous',
44+
items: [{ autogenerate: { directory: 'hardware/miscellaneous' } }],
45+
},
46+
],
47+
},
48+
49+
{
50+
label: 'Robot',
51+
items: [{ autogenerate: { directory: 'robot' } }],
52+
},
53+
{
54+
label: 'Control',
55+
items: [{ autogenerate: { directory: 'control' } }],
56+
},
57+
],
58+
plugins: [starlightThemeGalaxy()]
59+
}),
60+
],
3961
});

0 commit comments

Comments
 (0)