Repository navigation
Expand file tree
/
Copy pathdocmd.config.js
More file actions
165 lines (165 loc) · 4.69 KB
/
Copy pathdocmd.config.js
File metadata and controls
165 lines (165 loc) · 4.69 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// Cloudflare Pages builds `pnpm docs:build` and publishes docs/.vitepress/dist,
// so `out` deliberately keeps that directory. Rename to `site/` (and update the
// Pages project's output directory) once the dashboard config can change.
export default {
title: "intl-ai",
url: "https://intl-ai.illo.fyi",
src: "docs",
out: "docs/.vitepress/dist",
base: "/",
engine: "js",
logo: {
light: "assets/logo.svg",
dark: "assets/logo.svg",
href: "/",
alt: "intl-ai",
height: "28px",
},
favicon: "assets/logo.svg",
layout: {
spa: true,
header: {
enabled: true,
},
sidebar: {
collapsible: true,
defaultCollapsed: false,
},
optionsMenu: {
position: "sidebar-top",
components: {
search: true,
themeSwitch: true,
},
},
footer: {
style: "minimal",
content: "Apache-2.0 license.",
branding: false,
},
},
theme: {
name: "default",
appearance: "system",
codeHighlight: true,
},
minify: true,
autoTitleFromH1: true,
copyCode: true,
pageNavigation: true,
navigation: [
{ title: "Home", path: "/", icon: "house" },
{
title: "Getting started",
icon: "rocket",
collapsible: true,
children: [
{ title: "Getting started", path: "/guide/getting-started/" },
{ title: "AI model setup", path: "/guide/ai-model/" },
{ title: "Configuration", path: "/guide/configuration/" },
{ title: "Providers", path: "/guide/providers/" },
{ title: "Observability", path: "/guide/observability/" },
{ title: "Migrating from 0.4.x", path: "/guide/migration/" },
],
},
{
title: "Build systems",
icon: "hammer",
collapsible: true,
children: [
{ title: "Overview", path: "/guide/build-systems/" },
{ title: "Vite", path: "/guide/build-systems/vite/" },
{ title: "Webpack", path: "/guide/build-systems/webpack/" },
{ title: "Rollup", path: "/guide/build-systems/rollup/" },
{ title: "esbuild", path: "/guide/build-systems/esbuild/" },
{ title: "Rspack", path: "/guide/build-systems/rspack/" },
{ title: "Rolldown", path: "/guide/build-systems/rolldown/" },
{ title: "Farm", path: "/guide/build-systems/farm/" },
{ title: "Next.js", path: "/guide/build-systems/next-js/" },
],
},
{
title: "i18n libraries",
icon: "languages",
collapsible: true,
children: [
{ title: "Overview", path: "/guide/i18n-libraries/" },
{ title: "Vue (vue-i18n)", path: "/guide/i18n-libraries/vue-i18n/" },
{ title: "i18next", path: "/guide/i18n-libraries/i18next/" },
],
},
{
title: "Mobile and desktop",
icon: "smartphone",
collapsible: true,
children: [
{ title: "Expo", path: "/guide/mobile/expo/" },
{ title: "Flutter", path: "/guide/mobile/flutter/" },
{ title: "SwiftUI", path: "/guide/mobile/swiftui/" },
{ title: "Android Jetpack", path: "/guide/mobile/jetpack/" },
{ title: ".NET", path: "/guide/desktop/dotnet/" },
],
},
{
title: "Ecosystem",
icon: "puzzle",
collapsible: true,
children: [
{ title: "Browser demo", path: "/guide/wasm/" },
{ title: "Format plugins", path: "/guide/format-plugins/" },
{ title: "Community integrations", path: "/guide/community-plugins/" },
],
},
{
title: "Reference",
icon: "book-open",
collapsible: true,
children: [
{ title: "CLI reference", path: "/guide/api/" },
{ title: "Internals", path: "/guide/internals/" },
{ title: "Contributing", path: "/guide/contributing/" },
],
},
{
title: "LLMs",
icon: "file-text",
collapsible: true,
children: [
{ title: "llms.txt", path: "/llms.txt", external: true },
{ title: "llms-full.txt", path: "/llms-full.txt", external: true },
],
},
{
title: "Sponsor",
path: "https://buy.polar.sh/polar_cl_Mv1gdlG7bw3I70EC9IHtfeSHJj4PEKvA7JAUz23CFhj",
icon: "heart",
external: true,
},
{
title: "GitHub",
path: "https://github.com/sigilco/intl-ai",
icon: "github",
external: true,
},
],
plugins: {
ai: {
assistant: false,
},
git: {
commitHistory: true,
maxCommits: 5,
repository: "https://github.com/sigilco/intl-ai",
branch: "develop",
editLink: true,
},
llms: {
enabled: true,
fullContext: true,
},
seo: {
defaultDescription:
"AI-powered i18n translation at build time. One binary, any bundler, any model. Zero runtime dependencies.",
},
},
};