astro/docs/src/config.ts

70 lines
2.3 KiB
TypeScript
Raw Normal View History

export const SIDEBAR = [
2021-07-15 18:13:35 +00:00
{
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: 'Quickstart', link: 'quick-start' },
{ text: 'Installation', link: 'installation' },
2021-07-15 18:13:35 +00:00
{ 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' },
],
},
];
export const SITE = {
title: 'Astro Documentation',
2021-07-21 14:44:15 +00:00
description: 'Build faster websites with less client-side Javascript.',
}
export const OPEN_GRAPH = {
locale: '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: 'astrodotbuild',
};