-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocusaurus.config.ts
More file actions
305 lines (294 loc) · 11.7 KB
/
docusaurus.config.ts
File metadata and controls
305 lines (294 loc) · 11.7 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
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: [
// Google Search Console verification — docs property
{
tagName: 'meta',
attributes: { name: 'google-site-verification', content: 'HVS4Mx40XNoVDW9HMBUFlnZHlosMQD5ypP3TfLDpNtw' },
},
// Google Search Console verification — synapse-kit.com property
{
tagName: 'meta',
attributes: { name: 'google-site-verification', content: 'rfOuzYkjAnTjrKutZc_XBacKwHSuCUBAvymUdcvtdwc' },
},
// Canonical base
{ tagName: 'link', attributes: { rel: 'canonical', href: 'https://synapsekit.github.io/synapsekit-docs/' } },
// Description
{
tagName: 'meta',
attributes: {
name: 'description',
content: 'Official documentation for SynapseKit — async-native Python LLM framework. RAG pipelines, ReAct agents, graph workflows, 33 LLM providers, 53 loaders, 11 vector stores. Apache 2.0.',
},
},
// Keywords
{
tagName: 'meta',
attributes: {
name: 'keywords',
content: 'synapsekit docs, python llm framework, rag pipeline python, llm agents python, langchain alternative, async llm python, graph workflow llm, vector store python, llm orchestration, retrieval augmented generation, open source llm framework, llm evaluation python',
},
},
// Author
{ tagName: 'meta', attributes: { name: 'author', content: 'SynapseKit Contributors' } },
// OpenGraph
{ tagName: 'meta', attributes: { property: 'og:type', content: 'website' } },
{ tagName: 'meta', attributes: { property: 'og:site_name', content: 'SynapseKit Docs' } },
{ tagName: 'meta', attributes: { property: 'og:title', content: 'SynapseKit — Python LLM Framework Documentation' } },
{
tagName: 'meta',
attributes: {
property: 'og:description',
content: 'Official docs for SynapseKit. RAG pipelines, agents, graph workflows. 33 providers. 2 dependencies. Open source.',
},
},
{ tagName: 'meta', attributes: { property: 'og:url', content: 'https://synapsekit.github.io/synapsekit-docs/' } },
{ tagName: 'meta', attributes: { property: 'og:image', content: 'https://synapsekit.github.io/synapsekit-docs/img/banner.svg' } },
{ tagName: 'meta', attributes: { property: 'og:image:width', content: '1200' } },
{ tagName: 'meta', attributes: { property: 'og:image:height', content: '630' } },
{ tagName: 'meta', attributes: { property: 'og:locale', content: 'en_US' } },
// Twitter
{ tagName: 'meta', attributes: { name: 'twitter:card', content: 'summary_large_image' } },
{ tagName: 'meta', attributes: { name: 'twitter:site', content: '@synapsekitai' } },
{ tagName: 'meta', attributes: { name: 'twitter:creator', content: '@synapsekitai' } },
{ tagName: 'meta', attributes: { name: 'twitter:title', content: 'SynapseKit — Python LLM Framework Documentation' } },
{
tagName: 'meta',
attributes: {
name: 'twitter:description',
content: 'Official docs for SynapseKit. RAG pipelines, agents, graph workflows. 33 providers. 2 dependencies. Open source.',
},
},
{ tagName: 'meta', attributes: { name: 'twitter:image', content: 'https://synapsekit.github.io/synapsekit-docs/img/banner.svg' } },
// Robots
{ tagName: 'meta', attributes: { name: 'robots', content: 'index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' } },
// JSON-LD: TechArticle/Documentation site
{
tagName: 'script',
attributes: { type: 'application/ld+json' },
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'WebSite',
name: 'SynapseKit Documentation',
url: 'https://synapsekit.github.io/synapsekit-docs/',
description: 'Official documentation for SynapseKit — async-native Python LLM framework.',
potentialAction: {
'@type': 'SearchAction',
target: 'https://synapsekit.github.io/synapsekit-docs/search?q={search_term_string}',
'query-input': 'required name=search_term_string',
},
}),
},
{
tagName: 'script',
attributes: { type: 'application/ld+json' },
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
name: 'SynapseKit',
applicationCategory: 'DeveloperApplication',
operatingSystem: 'Linux, macOS, Windows',
programmingLanguage: 'Python',
offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD' },
license: 'https://opensource.org/licenses/Apache-2.0',
url: 'https://synapse-kit.com',
downloadUrl: 'https://pypi.org/project/synapsekit/',
softwareVersion: '1.9.1',
description: 'Async-native Python framework for RAG pipelines, ReAct agents, and graph workflows. 2 dependencies. 33 LLM providers. No lock-in.',
featureList: ['RAG Pipelines', 'ReAct Agents', 'Graph Workflows', 'AgentFederation', '53 Document Loaders', '33 LLM Providers', '11 Vector Stores', '47+ Built-in Tools', 'Async-native', 'EvalCI GitHub Action'],
releaseNotes: 'https://github.com/SynapseKit/SynapseKit/blob/main/CHANGELOG.md',
author: { '@type': 'Organization', name: 'SynapseKit Contributors', url: 'https://github.com/SynapseKit' },
sameAs: ['https://github.com/SynapseKit/SynapseKit', 'https://pypi.org/project/synapsekit/'],
}),
},
{
tagName: 'script',
attributes: { type: 'application/ld+json' },
innerHTML: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'Organization',
name: 'SynapseKit',
url: 'https://synapse-kit.com',
logo: 'https://synapse-kit.com/logo.svg',
sameAs: [
'https://github.com/SynapseKit/SynapseKit',
'https://pypi.org/project/synapsekit/',
'https://discord.gg/PSuAXHRywJ',
'https://www.linkedin.com/company/synapsekitai/',
],
}),
},
],
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',
},
sitemap: {
changefreq: 'weekly',
priority: 0.8,
ignorePatterns: ['/tags/**'],
},
gtag: {
trackingID: 'G-NYPGFHGHKN',
anonymizeIP: false,
},
} 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: 'v191',
content: '🔧 <strong>v1.9.1 released</strong> — patch release with bug fixes: Ollama async stream, voice lazy imports, <code>__version__</code> mismatch, uv.lock drift. <a href="/synapsekit-docs/docs/changelog">Changelog →</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.9.1</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;