summaryrefslogtreecommitdiff
path: root/docs/src/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/config.ts')
-rw-r--r--docs/src/config.ts67
1 files changed, 67 insertions, 0 deletions
diff --git a/docs/src/config.ts b/docs/src/config.ts
new file mode 100644
index 000000000..bb96ac4e9
--- /dev/null
+++ b/docs/src/config.ts
@@ -0,0 +1,67 @@
+export const sidebar = [
+ {
+ text: 'Setup',
+ link: '',
+ children: [
+ { text: 'Installation', link: 'installation' },
+ { text: 'Quickstart', link: 'quick-start' },
+ { text: 'Examples', link: 'examples' },
+ ],
+ },
+ {
+ 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' },
+ // ],
+ // },
+];