Repository navigation
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
99 lines (93 loc) · 2.21 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
99 lines (93 loc) · 2.21 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
// @ts-check
const config = {
title: "Membrane",
tagline: "A selective learning and memory substrate for LLM and agentic systems.",
url: process.env.DOCS_SITE_URL ?? "https://membrane.gustycube.com",
baseUrl: "/",
organizationName: "BennettSchwartz",
projectName: "membrane",
favicon: "img/favicon.svg",
trailingSlash: false,
onBrokenLinks: "warn",
markdown: {
hooks: {
onBrokenMarkdownLinks: "warn",
},
},
i18n: {
defaultLocale: "en",
locales: ["en"],
},
presets: [
[
"classic",
{
docs: {
path: "docs",
routeBasePath: "/",
sidebarPath: "./sidebars.js",
editUrl: "https://github.com/BennettSchwartz/membrane/edit/master/docs/",
},
blog: false,
theme: {
customCss: "./src/css/custom.css",
},
sitemap: {
changefreq: "weekly",
priority: 0.5,
},
},
],
],
themeConfig: {
navbar: {
title: "Membrane",
logo: {
alt: "Membrane logo",
src: "img/logo-mark.svg",
},
items: [
{
type: "docSidebar",
sidebarId: "docs",
position: "left",
label: "Docs",
},
{
href: "https://github.com/BennettSchwartz/membrane",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{ label: "Quickstart", to: "/quickstart" },
{ label: "API Reference", to: "/api/overview" },
{ label: "TypeScript SDK", to: "/sdks/typescript" },
{ label: "Python SDK", to: "/sdks/python" },
],
},
{
title: "Community",
items: [
{ label: "GitHub", href: "https://github.com/BennettSchwartz/membrane" },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} BennettSchwartz.`,
},
prism: {
additionalLanguages: ["bash", "go", "json", "python", "typescript", "yaml"],
},
colorMode: {
defaultMode: "dark",
respectPrefersColorScheme: true,
},
},
};
module.exports = config;