-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocusaurus.config.ts
More file actions
228 lines (217 loc) · 7.08 KB
/
docusaurus.config.ts
File metadata and controls
228 lines (217 loc) · 7.08 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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
const config: Config = {
title: 'SynapseKit — Python LLM Framework',
tagline: 'Async-first Python framework for building production-grade LLM applications with RAG, agents, and graph workflows.',
favicon: 'img/favicon.svg',
future: { v4: true },
url: 'https://synapsekit.github.io',
baseUrl: '/synapsekit-docs/',
organizationName: 'SynapseKit',
projectName: 'synapsekit-docs',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
headTags: [
{
tagName: 'meta',
attributes: {
name: 'google-site-verification',
content: 'HVS4Mx40XNoVDW9HMBUFlnZHlosMQD5ypP3TfLDpNtw',
},
},
{
tagName: 'meta',
attributes: {
name: 'description',
content: 'SynapseKit is an async-native Python framework for building production-grade LLM applications. RAG pipelines, AI agents, graph workflows, 15 LLM providers, 29 tools. 2 dependencies. pip install synapsekit.',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:title',
content: 'SynapseKit — Python LLM Framework',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:description',
content: 'Async-first Python framework for building production-grade LLM apps. RAG, agents, graph workflows. pip install synapsekit.',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:image',
content: 'https://synapsekit.github.io/synapsekit-docs/img/banner.svg',
},
},
{
tagName: 'meta',
attributes: {
name: 'twitter:image',
content: 'https://synapsekit.github.io/synapsekit-docs/img/banner.svg',
},
},
{
tagName: 'meta',
attributes: {
property: 'og:type',
content: 'website',
},
},
],
plugins: [
[
require.resolve('@easyops-cn/docusaurus-search-local'),
{ hashed: true, language: ['en'], docsRouteBasePath: '/docs' },
],
],
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
docs: {
sidebarPath: './sidebars.ts',
editUrl: 'https://github.com/SynapseKit/synapsekit-docs/edit/main/',
showLastUpdateTime: true,
},
blog: {
showReadingTime: true,
blogTitle: 'SynapseKit Blog',
blogDescription: 'Tutorials, release notes, and AI engineering insights from the SynapseKit team.',
postsPerPage: 10,
feedOptions: { type: ['rss', 'atom'] },
},
theme: {
customCss: './src/css/custom.css',
},
} satisfies Preset.Options,
],
],
themeConfig: {
metadata: [
{name: 'keywords', content: 'synapsekit, python llm framework, rag framework, ai agents python, langchain alternative, async llm, graph workflows, openai, anthropic, pip install synapsekit'},
{name: 'twitter:card', content: 'summary_large_image'},
],
colorMode: {
defaultMode: 'light',
respectPrefersColorScheme: true,
},
announcementBar: {
id: 'v156',
content: '🎉 <strong>v1.5.6 released</strong> — GPT4All & vLLM providers, SQLiteVecStore, 4 new loaders (Parquet, Redis, Elasticsearch, DynamoDB). <a href="/synapsekit-docs/docs/changelog">Changelog →</a> | 🚀 <strong>EvalCI</strong> — LLM quality gates on every PR, zero infra. <a href="/synapsekit-docs/docs/evalci/overview">Get started →</a>',
backgroundColor: '#0d1117',
textColor: '#e6edf3',
isCloseable: true,
},
navbar: {
hideOnScroll: true,
logo: {
alt: 'SynapseKit',
src: 'img/logo.svg',
},
title: 'SynapseKit',
items: [
{
type: 'docSidebar',
sidebarId: 'docsSidebar',
position: 'left',
label: 'Docs',
},
{ to: '/docs/guides', label: 'Guides', position: 'left' },
{ to: '/blog', label: 'Blog', position: 'left' },
{
to: '/docs/evalci/overview',
label: 'EvalCI',
position: 'left',
},
{
type: 'html',
position: 'left',
value: '<span class="navbar__version">v1.5.6</span>',
},
{
href: 'https://discord.gg/PSuAXHRywJ',
position: 'right',
className: 'navbar__discord',
'aria-label': 'Discord',
label: 'Discord',
},
{
href: 'https://github.com/SynapseKit/SynapseKit',
position: 'right',
className: 'navbar__github',
'aria-label': 'GitHub',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Getting Started',
items: [
{label: 'Installation', to: '/docs/getting-started/installation'},
{label: 'Quickstart', to: '/docs/getting-started/quickstart'},
{label: 'Guides', to: '/docs/guides'},
{label: 'Introduction', to: '/docs/intro'},
],
},
{
title: 'Core',
items: [
{label: 'RAG Pipelines', to: '/docs/rag/pipeline'},
{label: 'Agents', to: '/docs/agents/overview'},
{label: 'Graph Workflows', to: '/docs/graph/overview'},
{label: 'LLM Providers', to: '/docs/llms/overview'},
],
},
{
title: 'Reference',
items: [
{label: 'API Reference', to: '/docs/api/llm'},
{label: 'FAQ', to: '/docs/faq'},
{label: 'Changelog', href: 'https://github.com/SynapseKit/SynapseKit/blob/main/CHANGELOG.md'},
],
},
{
title: 'EvalCI',
items: [
{label: 'Overview', to: '/docs/evalci/overview'},
{label: 'Quickstart', to: '/docs/evalci/quickstart'},
{label: 'Action Reference', to: '/docs/evalci/action-reference'},
{label: 'Examples', to: '/docs/evalci/examples'},
{label: 'GitHub', href: 'https://github.com/SynapseKit/evalci'},
],
},
{
title: 'Community',
items: [
{label: 'GitHub', href: 'https://github.com/SynapseKit/SynapseKit'},
{label: 'Discussions', href: 'https://github.com/SynapseKit/SynapseKit/discussions'},
{label: 'Issues', href: 'https://github.com/SynapseKit/SynapseKit/issues'},
{label: 'Contributing', href: 'https://github.com/SynapseKit/SynapseKit/blob/main/CONTRIBUTING.md'},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} SynapseKit. Released under the Apache 2.0 License.`,
},
prism: {
theme: prismThemes.oneLight,
darkTheme: prismThemes.oneDark,
additionalLanguages: ['python', 'bash', 'toml', 'json', 'yaml', 'typescript', 'jsx', 'tsx', 'sql', 'docker'],
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4,
},
} satisfies Preset.ThemeConfig,
};
export default config;