-
Notifications
You must be signed in to change notification settings - Fork 0
/
docusaurus.config.ts
74 lines (71 loc) · 1.61 KB
/
docusaurus.config.ts
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
import type * as Preset from '@docusaurus/preset-classic';
import type { Config } from '@docusaurus/types';
import { themes as prismThemes } from 'prism-react-renderer';
const basemind = 'BaseMind.AI';
const deploymentBranch = 'gh-pages';
const discordInviteLink = 'https://discord.gg/ReZ9SZwvwu';
const docsSiteUrl = 'https://your-docusaurus-site.example.com';
const logo = 'img/logo.svg';
const organizationName = 'basemind-ai';
const repositoryName = 'docs';
const config: Config = {
baseUrl: '/',
deploymentBranch,
favicon: 'img/favicon.ico',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
organizationName,
presets: [
[
'classic',
{
blog: false,
docs: {
routeBasePath: '/',
sidebarPath: './sidebars.ts',
},
theme: {
customCss: './src/css/custom.css',
},
} satisfies Preset.Options,
],
],
projectName: repositoryName,
tagline: '',
themeConfig: {
image: 'img/log-with-text.png',
navbar: {
items: [
{
'aria-label': 'Discord Invite',
'className': 'navbar--discord-link',
'href': discordInviteLink,
'position': 'right',
},
{
'aria-label': 'GitHub Organization',
'className': 'navbar--github-link',
'href': 'https://github.com/basemind-ai',
'position': 'right',
},
],
logo: {
alt: `${basemind} Logo`,
src: logo,
},
title: basemind,
},
prism: {
darkTheme: prismThemes.dracula,
theme: prismThemes.github,
},
} satisfies Preset.ThemeConfig,
title: basemind,
trailingSlash: false,
url: docsSiteUrl,
};
export default config;