summaryrefslogtreecommitdiff
path: root/docs/src/config.ts
blob: 501e7db9a59511d271cbc41a76197f0295d95c1a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
export const SIDEBAR = {
  en: [
    { text: 'Setup', header: true },
    { text: 'Getting Started', link: 'getting-started' },
    { text: 'Quickstart', link: 'quick-start' },
    { text: 'Installation', link: 'installation' },
    { text: 'Themes', link: 'themes' },
    { text: 'Astro vs. X', link: 'comparing-astro-vs-other-tools' },

    { text: 'Basics', header: true },
    { text: 'Project Structure', link: 'core-concepts/project-structure' },
    { text: 'Component Syntax', link: 'core-concepts/astro-components' },
    { text: 'Pages', link: 'core-concepts/astro-pages' },
    { text: 'Layouts', link: 'core-concepts/layouts' },
    { text: 'Routing', link: 'core-concepts/routing' },
    { text: 'Partial Hydration', link: 'core-concepts/component-hydration' },

    { text: 'Guides', header: true },
    { text: 'Styling & CSS', link: 'guides/styling' },
    { text: 'Markdown', link: 'guides/markdown-content' },
    { text: 'Debugging', link: 'guides/debugging' },
    { text: 'Data Fetching', link: 'guides/data-fetching' },
    { text: 'Pagination', link: 'guides/pagination' },
    { text: 'RSS', link: 'guides/rss' },
    { text: 'Supported Imports', link: 'guides/imports' },
    { text: 'Aliases', link: 'guides/aliases' },
    { text: 'Deploy to the web', link: 'guides/deploy' },
    { text: 'Publish to npm', link: 'guides/publish-to-npm' },

    { text: 'Reference', header: true },
    { 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' },
  ],
  de: [
    { text: 'Willkommen', header: true },
    { text: 'Einführung', link: 'de/getting-started' },
  ],
  nl: [
    { text: 'Welkom', header: true },
    { text: 'Beginnen', link: 'nl/getting-started' },
  ],
  fi: [
    { text: 'Tervetuloa', header: true },
    { text: 'Aloittaminen', link: 'fi/getting-started' },
    { text: 'Pika-aloitus', link: 'fi/quick-start' },
    { text: 'Asennus', link: 'fi/installation' },
  ],
  es: [
    { text: 'Configuración', header: true },
    { text: 'Empezando', link: 'es/getting-started' },
    { text: 'Comienzo rápido', link: 'es/quick-start' },
    { text: 'Instalación', link: 'es/installation' },
    { text: 'Astro vs. X', link: 'es/comparing-astro-vs-other-tools' },
  ],
  'zh-CN': [
    { text: '起步', header: true },
    { text: '入门指南', link: 'zh-CN/getting-started' },
    { text: '快速入门', link: 'zh-CN/quick-start' },
    { text: '安装指南', link: 'zh-CN/installation' },
    { text: '模板样例', link: 'zh-CN/examples' },
    {
      text: 'Astro 对比其他框架',
      link: 'zh-CN/comparing-astro-vs-other-tools',
    },
  ],
  'zh-TW': [
    { text: '設定', header: true },
    { text: '新手上路', link: 'zh-TW/getting-started' },
    { text: '快速開始', link: 'zh-TW/quick-start' },
    { text: '安裝', link: 'zh-TW/installation' },
  ],
  bg: [
    { text: 'Главни', header: true },
    { text: 'Започваме!', link: 'bg/getting-started' },
  ],
  fr: [
    { text: 'Bienvenue', header: true },
    { text: 'Bien démarrer', link: 'fr/getting-started' },
    { text: 'Démarrage rapide', link: 'fr/quick-start' },
    { text: 'Installation', link: 'fr/installation' },
  ],
  bn: [
    { text: 'সেটআপ', header: true },
    { text: 'শুরু করুন', link: 'bn/getting-started' },
  ],
  kr: [
    { text: '환영합니다', header: true },
    { text: '시작하기', link: 'kr/getting-started' },
  ],
  ar: [
    { text: 'التهيئة', header: true },
    { text: 'باشر البدأ', link: 'ar/getting-started' },
  ],
  da: [
    { text: 'Velkommen', header: true },
    { text: 'Introduktion', link: 'da/getting-started' },
  ],
  ja: [
    { text: 'セットアップ', header: true },
    { text: 'はじめに', link: 'ja/getting-started' },
    { text: 'クイックスタート', link: 'ja/quick-start' },
  ],
  ru: [
    { text: 'Введение', header: true },
    { text: 'Начало работы', link: 'ru/getting-started' },
  ],
};

export const SITE = {
  title: 'Astro Documentation',
  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',
};