@@ -5,35 +5,57 @@ import starlightThemeGalaxy from 'starlight-theme-galaxy';
55
66// https://astro.build/config
77export 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