-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
83 lines (79 loc) · 1.99 KB
/
docusaurus.config.js
File metadata and controls
83 lines (79 loc) · 1.99 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
// @ts-check
// `@type` JSDoc annotations allow editor autocompletion and type checking
// (when paired with `@ts-check`).
// There are various equivalent ways to declare your Docusaurus config.
// See: https://docusaurus.io/docs/api/docusaurus-config
import { themes as prismThemes } from "prism-react-renderer";
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "Bulbbot",
tagline: "We take Discord Moderation to the next level",
url: "https://bulbbot.rocks",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "TeamBulbbot",
projectName: "bulbbot",
titleDelimiter: "-",
themeConfig: {
metadata: [
{
name: "og:image",
content:
"https://github.com/TeamBulbbot/bulbbot/blob/master/assets/Logo.png?raw=true",
},
{
name: "theme-color",
content: "#ffc300",
},
{
name: "twitter:card",
content: "summary",
},
],
colorMode: {
defaultMode: "dark",
},
navbar: {
title: "Bulbbot Documentation",
logo: {
alt: "Logo",
src: "img/logo.svg",
},
items: [
{
href: "https://bulbbot.rocks/invite",
label: "Invite Bot",
position: "left",
},
{
href: "https://bulbbot.rocks/discord",
className: "navbar-item-discord",
position: "right",
},
{
href: "https://github.com/TeamBulbbot/bulbbot",
className: "navbar-item-github",
position: "right",
},
],
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/TeamBulbbot/docs/blob/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};
export default config;