diff options
Diffstat (limited to 'examples/docs/src/consts.ts')
-rw-r--r-- | examples/docs/src/consts.ts | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/examples/docs/src/consts.ts b/examples/docs/src/consts.ts deleted file mode 100644 index b29fbcf4f..000000000 --- a/examples/docs/src/consts.ts +++ /dev/null @@ -1,46 +0,0 @@ -export const SITE = { - title: 'Documentation', - description: 'Your website description.', - defaultLanguage: 'en-us', -} as const; - -export const OPEN_GRAPH = { - image: { - src: 'https://github.com/withastro/astro/blob/main/.github/assets/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', -} as const; -export const KNOWN_LANGUAGE_CODES = Object.values(KNOWN_LANGUAGES); - -export const GITHUB_EDIT_URL = `https://github.com/withastro/astro/tree/main/examples/docs`; - -export const COMMUNITY_INVITE_URL = `https://astro.build/chat`; - -// See "Algolia" section of the README for more information. -export const ALGOLIA = { - indexName: 'XXXXXXXXXX', - appId: 'XXXXXXXXXX', - apiKey: 'XXXXXXXXXX', -}; - -export type Sidebar = Record< - (typeof KNOWN_LANGUAGE_CODES)[number], - Record<string, { text: string; link: string }[]> ->; -export const SIDEBAR: Sidebar = { - en: { - 'Section Header': [ - { text: 'Introduction', link: 'en/introduction' }, - { text: 'Page 2', link: 'en/page-2' }, - { text: 'Page 3', link: 'en/page-3' }, - ], - 'Another Section': [{ text: 'Page 4', link: 'en/page-4' }], - }, -}; |