|
|
@ -1,31 +1,30 @@ |
|
|
|
export const SITE = { |
|
|
|
export const SITE = { |
|
|
|
title: 'NextGraph Docs', |
|
|
|
title: "NextGraph Docs", |
|
|
|
description: 'NextGraph Documentation', |
|
|
|
description: "NextGraph Documentation", |
|
|
|
defaultLanguage: 'en_US', |
|
|
|
defaultLanguage: "en_US", |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const OPEN_GRAPH = { |
|
|
|
export const OPEN_GRAPH = { |
|
|
|
image: { |
|
|
|
image: { |
|
|
|
src: 'https://docs.nextgraph.org/public/logo-text.png', |
|
|
|
src: "https://docs.nextgraph.org/public/logo-text.png", |
|
|
|
alt: |
|
|
|
alt: "NextGraph logo,", |
|
|
|
'NextGraph logo,'
|
|
|
|
}, |
|
|
|
}, |
|
|
|
twitter: "nextgraph", |
|
|
|
twitter: 'nextgraph', |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
// This is the type of the frontmatter you put in the docs markdown files.
|
|
|
|
// This is the type of the frontmatter you put in the docs markdown files.
|
|
|
|
export type Frontmatter = { |
|
|
|
export type Frontmatter = { |
|
|
|
title: string; |
|
|
|
title: string; |
|
|
|
description: string; |
|
|
|
description: string; |
|
|
|
layout: string; |
|
|
|
layout: string; |
|
|
|
image?: { src: string; alt: string }; |
|
|
|
image?: { src: string; alt: string }; |
|
|
|
dir?: 'ltr' | 'rtl'; |
|
|
|
dir?: "ltr" | "rtl"; |
|
|
|
ogLocale?: string; |
|
|
|
ogLocale?: string; |
|
|
|
lang?: string; |
|
|
|
lang?: string; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export const KNOWN_LANGUAGES = { |
|
|
|
export const KNOWN_LANGUAGES = { |
|
|
|
English: 'en', |
|
|
|
English: "en", |
|
|
|
} as const; |
|
|
|
} as const; |
|
|
|
export const KNOWN_LANGUAGE_CODES = Object.values(KNOWN_LANGUAGES); |
|
|
|
export const KNOWN_LANGUAGE_CODES = Object.values(KNOWN_LANGUAGES); |
|
|
|
|
|
|
|
|
|
|
@ -35,29 +34,27 @@ export const COMMUNITY_INVITE_URL = `https://forum.nextgraph.org`; |
|
|
|
|
|
|
|
|
|
|
|
// See "Algolia" section of the README for more information.
|
|
|
|
// See "Algolia" section of the README for more information.
|
|
|
|
export const ALGOLIA = { |
|
|
|
export const ALGOLIA = { |
|
|
|
indexName: 'docs', |
|
|
|
indexName: "docs", |
|
|
|
appId: 'XXXXXXXXXX', |
|
|
|
appId: "XXXXXXXXXX", |
|
|
|
apiKey: '08IMxBGqKrHJTIoq1dHfmaw9MSeLetwfLbuRvQuXZAZFWckX', |
|
|
|
apiKey: "08IMxBGqKrHJTIoq1dHfmaw9MSeLetwfLbuRvQuXZAZFWckX", |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
export type Sidebar = Record< |
|
|
|
export type Sidebar = Record< |
|
|
|
typeof KNOWN_LANGUAGE_CODES[number], |
|
|
|
typeof KNOWN_LANGUAGE_CODES[number], |
|
|
|
Record<string, { text: string; link: string }[]> |
|
|
|
Record<string, { text: string; link: string }[]> |
|
|
|
>; |
|
|
|
>; |
|
|
|
export const SIDEBAR: Sidebar = { |
|
|
|
export const SIDEBAR: Sidebar = { |
|
|
|
en: { |
|
|
|
en: { |
|
|
|
'Guides': [ |
|
|
|
Guides: [ |
|
|
|
{ text: 'Introduction', link: 'en/introduction' }, |
|
|
|
{ text: "Introduction", link: "en/introduction" }, |
|
|
|
{ text: 'Getting started', link: 'en/getting-started' }, |
|
|
|
{ text: "Getting started", link: "en/getting-started" }, |
|
|
|
{ text: 'Help / FAQ', link: 'en/help' }, |
|
|
|
{ text: "Help / FAQ", link: "en/help" }, |
|
|
|
{ text: 'Accessibility', link: 'en/accessibility' }], |
|
|
|
{ text: "Accessibility", link: "en/accessibility" }, |
|
|
|
'Design': [ |
|
|
|
], |
|
|
|
{ text: 'Overview', link: 'en/design' }, |
|
|
|
Design: [ |
|
|
|
{ text: 'Specifications', link: 'en/specs' }, |
|
|
|
{ text: "Overview", link: "en/design" }, |
|
|
|
], |
|
|
|
{ text: "Specifications", link: "en/specs" }, |
|
|
|
'API Reference': [ |
|
|
|
], |
|
|
|
{ text: 'API', link: 'en/api' }, |
|
|
|
"API Reference": [{ text: "API", link: "en/api" }], |
|
|
|
], |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|