aboutsummaryrefslogtreecommitdiff
path: root/examples/docs/src/config.ts
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-08-26 15:02:38 -0700
committerGravatar Fred K. Schott <fkschott@gmail.com> 2021-08-26 15:03:21 -0700
commit2e8db7ad2384b756894eac6be72bcf720f7f28fa (patch)
tree074ff88116520c3484210a0b94331b0f2b81581b /examples/docs/src/config.ts
parentb7ada11ddbabe4dd2f0798e140e5b280de4d6952 (diff)
downloadastro-2e8db7ad2384b756894eac6be72bcf720f7f28fa.tar.gz
astro-2e8db7ad2384b756894eac6be72bcf720f7f28fa.tar.zst
astro-2e8db7ad2384b756894eac6be72bcf720f7f28fa.zip
add algolia and cleanup docs readme
Diffstat (limited to 'examples/docs/src/config.ts')
-rw-r--r--examples/docs/src/config.ts38
1 files changed, 26 insertions, 12 deletions
diff --git a/examples/docs/src/config.ts b/examples/docs/src/config.ts
index cf0d58ed5..a9001b8ab 100644
--- a/examples/docs/src/config.ts
+++ b/examples/docs/src/config.ts
@@ -1,22 +1,36 @@
-export const SIDEBAR = {
- en: [
- { text: 'Getting Started', header: true },
- { text: 'Introduction', link: 'en/introduction' },
- { text: 'Getting Started', link: 'en/getting-started' },
- { text: 'Example', link: 'en/example' },
- ],
-};
-
export const SITE = {
- title: 'Astro Documentation',
- description: 'Build faster websites with less client-side Javascript.',
+ title: 'Your Documentation Website',
+ description: 'Your website description.',
+ defaultLanguage: 'en_US',
};
export const OPEN_GRAPH = {
- locale: 'en_US',
image: {
src: 'https://github.com/snowpackjs/astro/blob/main/assets/social/banner.png?raw=true',
alt: 'astro logo on a starry expanse of space,' + ' with a purple saturn-like planet floating in the right foreground',
},
twitter: 'astrodotbuild',
};
+
+export const KNOWN_LANGUAGES = {
+ English: 'en',
+};
+
+// Uncomment this to enable site search.
+// See "Algolia" section of the README for more information.
+// export const ALGOLIA = {
+// indexName: 'XXXXXXXXXX',
+// apiKey: 'XXXXXXXXXX',
+// }
+
+export const SIDEBAR = {
+ en: [
+ { text: 'Section Header', header: true },
+ { text: 'Introduction', link: 'en/introduction' },
+ { text: 'Page 2', link: 'en/page-2' },
+ { text: 'Page 3', link: 'en/page-3' },
+
+ { text: 'Another Section', header: true },
+ { text: 'Page 4', link: 'en/page-4' },
+ ],
+};