astro/docs/src/config.ts

86 lines
2.9 KiB
TypeScript
Raw Normal View History

2021-07-15 18:13:35 +00:00
export const sidebar = [
{
text: 'Setup',
link: '',
children: [
2021-07-16 11:57:09 +00:00
{ text: 'Getting Started', link: 'getting-started' },
2021-07-15 18:13:35 +00:00
{ text: 'Installation', link: 'installation' },
{ text: 'Quickstart', link: 'quick-start' },
{ text: 'Examples', link: 'examples' },
2021-07-19 22:44:15 +00:00
{ text: 'Astro vs. X', link: 'comparing-astro-vs-other-tools' },
2021-07-15 18:13:35 +00:00
],
},
{
text: 'Basics',
link: 'core-concepts',
children: [
{ text: 'Project Structure', link: 'core-concepts/project-structure' },
{ text: 'Components', link: 'core-concepts/astro-components' },
{ text: 'Pages', link: 'core-concepts/astro-pages' },
{ text: 'Layouts', link: 'core-concepts/layouts' },
{ text: 'Collections', link: 'core-concepts/collections' },
{ text: 'Partial Hydration', link: 'core-concepts/component-hydration' },
],
},
{
text: 'Guides',
link: 'guides',
children: [
{ text: 'Styling & CSS', link: 'guides/styling' },
{ text: 'Data Fetching', link: 'guides/data-fetching' },
{ text: 'Markdown', link: 'guides/markdown-content' },
{ text: 'Supported Imports', link: 'guides/imports' },
// To be written when https://github.com/snowpackjs/astro/issues/501 is completed
// { text: 'Pagination', link: 'guides/pagination' },
{ text: 'Deploy a Website', link: 'guides/deploy' },
{ text: 'Publish a Component', link: 'guides/publish-to-npm' },
],
},
{
text: 'Reference',
link: 'reference',
children: [
{ text: 'Built-In Components', link: 'reference/builtin-components' },
{ text: 'API Reference', link: 'reference/api-reference' },
{ text: 'CLI Reference', link: 'reference/cli-reference' },
{
text: 'Configuration Reference',
link: 'reference/configuration-reference',
},
{ text: 'Renderer Reference', link: 'reference/renderer-reference' },
],
},
// To add once rest of the site is complete
// see https://github.com/snowpackjs/astro-docs/issues/9
// {
// text: 'Integrations',
// link: 'integrations',
// children: [
// { text: 'Deploy Astro', link: 'integrations/deploy-astro' },
// { text: 'Data Sources / CMS', link: 'integrations/data-sources-cms' },
// { text: 'State Management', link: 'integrations/state-management' },
// {
// text: 'Styles & CSS Libraries',
// link: 'integrations/styles-and-css-libraries',
// },
// { text: 'Developer Tools', link: 'integrations/developer-tools' },
// ],
// },
];
export const site = {
title: 'Astro Documentation',
description: 'Build faster websites with less client-side Javascript',
ogLocale: 'en_US',
image: {
src: '/default-og-image.png?v=1',
alt:
'astro logo on a starry expanse of space,' +
' with a purple saturn-like planet floating in the right foreground',
},
twitter: {
site: 'astrodotbuild',
creator: 'astrodotbuild',
},
};