-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cff107a
commit 5e25a60
Showing
5 changed files
with
499 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.mdx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import starlightBlog from 'starlight-blog'; | ||
import react from '@astrojs/react'; | ||
import tailwind from "@astrojs/tailwind"; | ||
import sitemap from "@astrojs/sitemap"; | ||
import prefetch from "@astrojs/prefetch"; | ||
import { defineConfig } from 'astro/config' | ||
import starlight from '@astrojs/starlight' | ||
import starlightBlog from 'starlight-blog' | ||
import react from '@astrojs/react' | ||
import tailwind from '@astrojs/tailwind' | ||
import sitemap from '@astrojs/sitemap' | ||
import prefetch from '@astrojs/prefetch' | ||
|
||
import robotsTxt from "astro-robots-txt"; | ||
import robotsTxt from 'astro-robots-txt' | ||
const description = | ||
'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.' | ||
const ogImage = 'https://codegenie.codes/og.jpg' | ||
|
@@ -30,7 +30,7 @@ export default defineConfig({ | |
email: 'mailto:[email protected]', | ||
twitter: 'https://twitter.com/CodeGenieCodes', | ||
discord: 'https://discord.gg/YJ9gQhheyn', | ||
linkedin: 'https://www.linkedin.com/company/code-genie-codes' | ||
linkedin: 'https://www.linkedin.com/company/code-genie-codes', | ||
}, | ||
head: [ | ||
{ | ||
|
@@ -43,125 +43,146 @@ export default defineConfig({ | |
}, | ||
], | ||
editLink: { | ||
baseUrl: 'https://github.com/CodeGenieApp/docs/edit/main/' | ||
baseUrl: 'https://github.com/CodeGenieApp/docs/edit/main/', | ||
}, | ||
tableOfContents: { | ||
maxHeadingLevel: 4 | ||
maxHeadingLevel: 4, | ||
}, | ||
lastUpdated: true, | ||
customCss: [ | ||
'./src/styles/starlight.css', | ||
customCss: ['./src/styles/starlight.css'], | ||
sidebar: [ | ||
{ | ||
label: 'Guides', | ||
items: [ | ||
{ | ||
label: 'Getting Started', | ||
link: '/docs/guides/getting-started', | ||
}, | ||
{ | ||
label: 'Deployments', | ||
link: '/docs/guides/deployments', | ||
}, | ||
{ | ||
label: 'Local Development', | ||
link: '/docs/guides/local-development', | ||
}, | ||
{ | ||
label: 'Send emails from custom domain', | ||
link: '/docs/guides/send-emails-from-custom-domain', | ||
}, | ||
], | ||
}, | ||
{ | ||
label: 'Project Walkthrough', | ||
items: [ | ||
{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/overview', | ||
}, | ||
{ | ||
label: 'CI/CD Pipeline', | ||
link: '/docs/project-walkthrough/ci-cd-pipeline', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP', | ||
}, | ||
}, | ||
{ | ||
label: 'Frontend', | ||
items: [ | ||
{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/frontend/overview', | ||
}, | ||
{ | ||
label: 'Pages', | ||
link: '/docs/project-walkthrough/frontend/pages', | ||
}, | ||
{ | ||
label: 'Components', | ||
link: '/docs/project-walkthrough/frontend/components', | ||
}, | ||
{ | ||
label: 'Hooks', | ||
link: '/docs/project-walkthrough/frontend/hooks', | ||
}, | ||
{ | ||
label: 'Branding/Themes', | ||
link: '/docs/project-walkthrough/frontend/branding-themes', | ||
}, | ||
], | ||
}, | ||
{ | ||
label: 'Backend', | ||
items: [ | ||
{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/backend/overview', | ||
}, | ||
{ | ||
label: 'API', | ||
link: '/docs/project-walkthrough/backend/api', | ||
}, | ||
{ | ||
label: 'Database', | ||
link: '/docs/project-walkthrough/backend/database', | ||
}, | ||
{ | ||
label: 'Auth/Identity', | ||
link: '/docs/project-walkthrough/backend/auth-identity', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP', | ||
}, | ||
}, | ||
{ | ||
label: 'Cloud Infrastructure (IAC)', | ||
link: '/docs/project-walkthrough/backend/cloud-infrastructure', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP', | ||
}, | ||
}, | ||
{ | ||
label: 'Miscellaneous', | ||
link: '/docs/project-walkthrough/miscellaneous', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP', | ||
}, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
{ | ||
label: 'Spec', | ||
items: [ | ||
{ | ||
label: 'App Definition', | ||
link: '/docs/spec/app-definition', | ||
}, | ||
], | ||
}, | ||
], | ||
sidebar: [{ | ||
label: 'Guides', | ||
items: [{ | ||
label: 'Getting Started', | ||
link: '/docs/guides/getting-started', | ||
}, { | ||
label: 'Deployments', | ||
link: '/docs/guides/deployments' | ||
}, { | ||
label: 'Local Development', | ||
link: '/docs/guides/local-development' | ||
}, { | ||
label: 'Send emails from custom domain', | ||
link: '/docs/guides/send-emails-from-custom-domain' | ||
}] | ||
}, { | ||
label: 'Project Walkthrough', | ||
items: [{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/overview' | ||
}, { | ||
label: 'CI/CD Pipeline', | ||
link: '/docs/project-walkthrough/ci-cd-pipeline', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP' | ||
} | ||
}, { | ||
label: 'Frontend', | ||
items: [{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/frontend/overview' | ||
}, { | ||
label: 'Pages', | ||
link: '/docs/project-walkthrough/frontend/pages' | ||
}, { | ||
label: 'Components', | ||
link: '/docs/project-walkthrough/frontend/components' | ||
}, { | ||
label: 'Hooks', | ||
link: '/docs/project-walkthrough/frontend/hooks' | ||
}, { | ||
label: 'Branding/Themes', | ||
link: '/docs/project-walkthrough/frontend/branding-themes' | ||
}] | ||
}, { | ||
label: 'Backend', | ||
items: [{ | ||
label: 'Overview', | ||
link: '/docs/project-walkthrough/backend/overview' | ||
}, { | ||
label: 'API', | ||
link: '/docs/project-walkthrough/backend/api' | ||
}, { | ||
label: 'Database', | ||
link: '/docs/project-walkthrough/backend/database' | ||
}, { | ||
label: 'Auth/Identity', | ||
link: '/docs/project-walkthrough/backend/auth-identity', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP' | ||
} | ||
}, { | ||
label: 'Cloud Infrastructure (IAC)', | ||
link: '/docs/project-walkthrough/backend/cloud-infrastructure', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP' | ||
} | ||
}, { | ||
label: 'Miscellaneous', | ||
link: '/docs/project-walkthrough/miscellaneous', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP' | ||
} | ||
}] | ||
}] | ||
}, | ||
{ | ||
label: 'Spec', | ||
items: [{ | ||
label: 'App Definition', | ||
link: '/docs/spec/app-definition', | ||
badge: { | ||
variant: 'tip', | ||
text: 'WIP' | ||
} | ||
}] | ||
} | ||
], | ||
plugins: [ | ||
starlightBlog({ | ||
title: 'Blog', | ||
authors: { | ||
brett: { | ||
name: 'Brett Andrews', | ||
title: 'Founder, Code Genie', | ||
url: 'https://twitter.com/AWSBrett', | ||
picture: '/brett-amazon-badge-photo-profile-pic-square-128.webp' | ||
plugins: [ | ||
starlightBlog({ | ||
title: 'Blog', | ||
authors: { | ||
brett: { | ||
name: 'Brett Andrews', | ||
title: 'Founder, Code Genie', | ||
url: 'https://twitter.com/AWSBrett', | ||
picture: '/brett-amazon-badge-photo-profile-pic-square-128.webp', | ||
}, | ||
}, | ||
}, | ||
}), | ||
], | ||
}), | ||
], | ||
}), | ||
sitemap(), | ||
prefetch({ | ||
intentSelector: ["a[href^='/']", "a[href^='https://codegenie.codes']", "a[href^='https://www.codegenie.codes']"] | ||
intentSelector: ["a[href^='/']", "a[href^='https://codegenie.codes']", "a[href^='https://www.codegenie.codes']"], | ||
}), | ||
robotsTxt() | ||
] | ||
}); | ||
robotsTxt(), | ||
], | ||
}) |
Oops, something went wrong.