1
- import { defineConfig } from 'astro/config' ;
2
- import starlight from '@astrojs/starlight' ;
3
- import starlightBlog from 'starlight-blog' ;
4
- import react from '@astrojs/react' ;
5
- import tailwind from " @astrojs/tailwind" ;
6
- import sitemap from " @astrojs/sitemap" ;
7
- import prefetch from " @astrojs/prefetch" ;
1
+ import { defineConfig } from 'astro/config'
2
+ import starlight from '@astrojs/starlight'
3
+ import starlightBlog from 'starlight-blog'
4
+ import react from '@astrojs/react'
5
+ import tailwind from ' @astrojs/tailwind'
6
+ import sitemap from ' @astrojs/sitemap'
7
+ import prefetch from ' @astrojs/prefetch'
8
8
9
- import robotsTxt from " astro-robots-txt" ;
9
+ import robotsTxt from ' astro-robots-txt'
10
10
const description =
11
11
'Generate Full Stack Serverless AWS Apps based on your description or data model. Projects include Next.js, React, Express, Lambda, API Gateway, Cognito Auth, DynamoDB, and more.'
12
12
const ogImage = 'https://codegenie.codes/og.jpg'
@@ -30,7 +30,7 @@ export default defineConfig({
30
30
email :
'mailto:[email protected] ' ,
31
31
twitter : 'https://twitter.com/CodeGenieCodes' ,
32
32
discord : 'https://discord.gg/YJ9gQhheyn' ,
33
- linkedin : 'https://www.linkedin.com/company/code-genie-codes'
33
+ linkedin : 'https://www.linkedin.com/company/code-genie-codes' ,
34
34
} ,
35
35
head : [
36
36
{
@@ -43,125 +43,146 @@ export default defineConfig({
43
43
} ,
44
44
] ,
45
45
editLink : {
46
- baseUrl : 'https://github.com/CodeGenieApp/docs/edit/main/'
46
+ baseUrl : 'https://github.com/CodeGenieApp/docs/edit/main/' ,
47
47
} ,
48
48
tableOfContents : {
49
- maxHeadingLevel : 4
49
+ maxHeadingLevel : 4 ,
50
50
} ,
51
51
lastUpdated : true ,
52
- customCss : [
53
- './src/styles/starlight.css' ,
52
+ customCss : [ './src/styles/starlight.css' ] ,
53
+ sidebar : [
54
+ {
55
+ label : 'Guides' ,
56
+ items : [
57
+ {
58
+ label : 'Getting Started' ,
59
+ link : '/docs/guides/getting-started' ,
60
+ } ,
61
+ {
62
+ label : 'Deployments' ,
63
+ link : '/docs/guides/deployments' ,
64
+ } ,
65
+ {
66
+ label : 'Local Development' ,
67
+ link : '/docs/guides/local-development' ,
68
+ } ,
69
+ {
70
+ label : 'Send emails from custom domain' ,
71
+ link : '/docs/guides/send-emails-from-custom-domain' ,
72
+ } ,
73
+ ] ,
74
+ } ,
75
+ {
76
+ label : 'Project Walkthrough' ,
77
+ items : [
78
+ {
79
+ label : 'Overview' ,
80
+ link : '/docs/project-walkthrough/overview' ,
81
+ } ,
82
+ {
83
+ label : 'CI/CD Pipeline' ,
84
+ link : '/docs/project-walkthrough/ci-cd-pipeline' ,
85
+ badge : {
86
+ variant : 'tip' ,
87
+ text : 'WIP' ,
88
+ } ,
89
+ } ,
90
+ {
91
+ label : 'Frontend' ,
92
+ items : [
93
+ {
94
+ label : 'Overview' ,
95
+ link : '/docs/project-walkthrough/frontend/overview' ,
96
+ } ,
97
+ {
98
+ label : 'Pages' ,
99
+ link : '/docs/project-walkthrough/frontend/pages' ,
100
+ } ,
101
+ {
102
+ label : 'Components' ,
103
+ link : '/docs/project-walkthrough/frontend/components' ,
104
+ } ,
105
+ {
106
+ label : 'Hooks' ,
107
+ link : '/docs/project-walkthrough/frontend/hooks' ,
108
+ } ,
109
+ {
110
+ label : 'Branding/Themes' ,
111
+ link : '/docs/project-walkthrough/frontend/branding-themes' ,
112
+ } ,
113
+ ] ,
114
+ } ,
115
+ {
116
+ label : 'Backend' ,
117
+ items : [
118
+ {
119
+ label : 'Overview' ,
120
+ link : '/docs/project-walkthrough/backend/overview' ,
121
+ } ,
122
+ {
123
+ label : 'API' ,
124
+ link : '/docs/project-walkthrough/backend/api' ,
125
+ } ,
126
+ {
127
+ label : 'Database' ,
128
+ link : '/docs/project-walkthrough/backend/database' ,
129
+ } ,
130
+ {
131
+ label : 'Auth/Identity' ,
132
+ link : '/docs/project-walkthrough/backend/auth-identity' ,
133
+ badge : {
134
+ variant : 'tip' ,
135
+ text : 'WIP' ,
136
+ } ,
137
+ } ,
138
+ {
139
+ label : 'Cloud Infrastructure (IAC)' ,
140
+ link : '/docs/project-walkthrough/backend/cloud-infrastructure' ,
141
+ badge : {
142
+ variant : 'tip' ,
143
+ text : 'WIP' ,
144
+ } ,
145
+ } ,
146
+ {
147
+ label : 'Miscellaneous' ,
148
+ link : '/docs/project-walkthrough/miscellaneous' ,
149
+ badge : {
150
+ variant : 'tip' ,
151
+ text : 'WIP' ,
152
+ } ,
153
+ } ,
154
+ ] ,
155
+ } ,
156
+ ] ,
157
+ } ,
158
+ {
159
+ label : 'Spec' ,
160
+ items : [
161
+ {
162
+ label : 'App Definition' ,
163
+ link : '/docs/spec/app-definition' ,
164
+ } ,
165
+ ] ,
166
+ } ,
54
167
] ,
55
- sidebar : [ {
56
- label : 'Guides' ,
57
- items : [ {
58
- label : 'Getting Started' ,
59
- link : '/docs/guides/getting-started' ,
60
- } , {
61
- label : 'Deployments' ,
62
- link : '/docs/guides/deployments'
63
- } , {
64
- label : 'Local Development' ,
65
- link : '/docs/guides/local-development'
66
- } , {
67
- label : 'Send emails from custom domain' ,
68
- link : '/docs/guides/send-emails-from-custom-domain'
69
- } ]
70
- } , {
71
- label : 'Project Walkthrough' ,
72
- items : [ {
73
- label : 'Overview' ,
74
- link : '/docs/project-walkthrough/overview'
75
- } , {
76
- label : 'CI/CD Pipeline' ,
77
- link : '/docs/project-walkthrough/ci-cd-pipeline' ,
78
- badge : {
79
- variant : 'tip' ,
80
- text : 'WIP'
81
- }
82
- } , {
83
- label : 'Frontend' ,
84
- items : [ {
85
- label : 'Overview' ,
86
- link : '/docs/project-walkthrough/frontend/overview'
87
- } , {
88
- label : 'Pages' ,
89
- link : '/docs/project-walkthrough/frontend/pages'
90
- } , {
91
- label : 'Components' ,
92
- link : '/docs/project-walkthrough/frontend/components'
93
- } , {
94
- label : 'Hooks' ,
95
- link : '/docs/project-walkthrough/frontend/hooks'
96
- } , {
97
- label : 'Branding/Themes' ,
98
- link : '/docs/project-walkthrough/frontend/branding-themes'
99
- } ]
100
- } , {
101
- label : 'Backend' ,
102
- items : [ {
103
- label : 'Overview' ,
104
- link : '/docs/project-walkthrough/backend/overview'
105
- } , {
106
- label : 'API' ,
107
- link : '/docs/project-walkthrough/backend/api'
108
- } , {
109
- label : 'Database' ,
110
- link : '/docs/project-walkthrough/backend/database'
111
- } , {
112
- label : 'Auth/Identity' ,
113
- link : '/docs/project-walkthrough/backend/auth-identity' ,
114
- badge : {
115
- variant : 'tip' ,
116
- text : 'WIP'
117
- }
118
- } , {
119
- label : 'Cloud Infrastructure (IAC)' ,
120
- link : '/docs/project-walkthrough/backend/cloud-infrastructure' ,
121
- badge : {
122
- variant : 'tip' ,
123
- text : 'WIP'
124
- }
125
- } , {
126
- label : 'Miscellaneous' ,
127
- link : '/docs/project-walkthrough/miscellaneous' ,
128
- badge : {
129
- variant : 'tip' ,
130
- text : 'WIP'
131
- }
132
- } ]
133
- } ]
134
- } ,
135
- {
136
- label : 'Spec' ,
137
- items : [ {
138
- label : 'App Definition' ,
139
- link : '/docs/spec/app-definition' ,
140
- badge : {
141
- variant : 'tip' ,
142
- text : 'WIP'
143
- }
144
- } ]
145
- }
146
- ] ,
147
- plugins : [
148
- starlightBlog ( {
149
- title : 'Blog' ,
150
- authors : {
151
- brett : {
152
- name : 'Brett Andrews' ,
153
- title : 'Founder, Code Genie' ,
154
- url : 'https://twitter.com/AWSBrett' ,
155
- picture : '/brett-amazon-badge-photo-profile-pic-square-128.webp'
168
+ plugins : [
169
+ starlightBlog ( {
170
+ title : 'Blog' ,
171
+ authors : {
172
+ brett : {
173
+ name : 'Brett Andrews' ,
174
+ title : 'Founder, Code Genie' ,
175
+ url : 'https://twitter.com/AWSBrett' ,
176
+ picture : '/brett-amazon-badge-photo-profile-pic-square-128.webp' ,
177
+ } ,
156
178
} ,
157
- } ,
158
- } ) ,
159
- ] ,
179
+ } ) ,
180
+ ] ,
160
181
} ) ,
161
182
sitemap ( ) ,
162
183
prefetch ( {
163
- intentSelector : [ "a[href^='/']" , "a[href^='https://codegenie.codes']" , "a[href^='https://www.codegenie.codes']" ]
184
+ intentSelector : [ "a[href^='/']" , "a[href^='https://codegenie.codes']" , "a[href^='https://www.codegenie.codes']" ] ,
164
185
} ) ,
165
- robotsTxt ( )
166
- ]
167
- } ) ;
186
+ robotsTxt ( ) ,
187
+ ] ,
188
+ } )
0 commit comments