diff options
| author | 2021-08-26 15:04:19 -0700 | |
|---|---|---|
| committer | 2021-08-26 15:04:44 -0700 | |
| commit | fdd701dd88529ee0d4911283e35be86b000ed1fc (patch) | |
| tree | 61d450d04633eece1c12b350b9ef3512dc2fa7b7 /examples/docs/src/config.ts | |
| parent | 84c18d3030c98b2770144a8a27d1cca7bbfedc1d (diff) | |
| parent | 2e8db7ad2384b756894eac6be72bcf720f7f28fa (diff) | |
| download | astro-fdd701dd88529ee0d4911283e35be86b000ed1fc.tar.gz astro-fdd701dd88529ee0d4911283e35be86b000ed1fc.tar.zst astro-fdd701dd88529ee0d4911283e35be86b000ed1fc.zip | |
Merge branch 'okikio/main' (#1111)
Diffstat (limited to 'examples/docs/src/config.ts')
| -rw-r--r-- | examples/docs/src/config.ts | 44 | 
1 files changed, 35 insertions, 9 deletions
| diff --git a/examples/docs/src/config.ts b/examples/docs/src/config.ts index 5ec22a02b..a9001b8ab 100644 --- a/examples/docs/src/config.ts +++ b/examples/docs/src/config.ts @@ -1,10 +1,36 @@ -export const sidebar = [ -  { -    text: 'Introduction', -    link: '', // No leading slash needed, so this links to the homepage -    children: [ -      { text: 'Getting Started', link: 'getting-started' }, -      { text: 'Example', link: 'example' }, -    ], +export const SITE = { +  title: 'Your Documentation Website', +  description: 'Your website description.', +  defaultLanguage: 'en_US', +}; + +export const OPEN_GRAPH = { +  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' }, +  ], +}; | 
