-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocsContent.ts
More file actions
44 lines (43 loc) · 2.07 KB
/
Copy pathdocsContent.ts
File metadata and controls
44 lines (43 loc) · 2.07 KB
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
export const docsPackages = {
client: {
label: '@dfsync/client',
packageName: '@dfsync/client',
defaultVersion: 'v1',
defaultSlug: 'getting-started',
versions: {
v1: {
navigation: [
{ label: 'Getting Started', slug: 'getting-started' },
{ label: 'Installation', slug: 'installation' },
{ label: 'Create Client', slug: 'create-client' },
{ label: 'Response Handling', slug: 'response-handling' },
{ label: 'Serialization', slug: 'serialization' },
{ label: 'Auth', slug: 'auth' },
{ label: 'Hooks', slug: 'hooks' },
{ label: 'Observability', slug: 'observability' },
{ label: 'Retry', slug: 'retry' },
{ label: 'Errors', slug: 'errors' },
{ label: 'Extensibility', slug: 'extensibility' },
{ label: 'Examples', slug: 'examples' },
{ label: 'API Reference', slug: 'api-reference' },
],
content: {
'getting-started': () => import('../../docs/client/v1/getting-started.md?raw'),
installation: () => import('../../docs/client/v1/installation.md?raw'),
'create-client': () => import('../../docs/client/v1/create-client.md?raw'),
'response-handling': () => import('../../docs/client/v1/response-handling.md?raw'),
serialization: () => import('../../docs/client/v1/serialization.md?raw'),
auth: () => import('../../docs/client/v1/auth.md?raw'),
hooks: () => import('../../docs/client/v1/hooks.md?raw'),
retry: () => import('../../docs/client/v1/retry.md?raw'),
errors: () => import('../../docs/client/v1/errors.md?raw'),
extensibility: () => import('../../docs/client/v1/extensibility.md?raw'),
examples: () => import('../../docs/client/v1/examples.md?raw'),
observability: () => import('../../docs/client/v1/observability.md?raw'),
'api-reference': () => import('../../docs/client/v1/api-reference.md?raw'),
},
},
},
},
} as const;
export type DocsPackageSlug = keyof typeof docsPackages;