-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.js
executable file
·79 lines (78 loc) · 2.08 KB
/
docusaurus.config.js
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
const remarkMath = require("remark-math");
const rehypeKatex = require("rehype-katex");
module.exports = {
title: "Docs | Project Caelus",
tagline: "Project Caelus' official documentation site.",
url: "https://docs.projectcaelus.org",
baseUrl: "/",
favicon: "img/favicon.svg",
organizationName: "ProjectCaelus", // Usually your GitHub org/user name.
projectName: "docs", // Usually your repo name.
themeConfig: {
navbar: {
title: "Project Caelus",
logo: {
alt: "Project Caelus",
src: "img/banner-transparent.svg",
srcDark: "img/banner-dark.svg",
},
items: [
{ to: "docs/index", label: "Docs", position: "left" },
{
to: "https://projectcaelus.org/blog",
label: "Blog",
position: "left",
},
{
href: "https://github.com/ProjectCaelus/docs",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Social",
items: [
{
label: "GitHub",
href: "https://github.com/ProjectCaelus",
},
{
label: "Facebook",
href: "https://www.facebook.com/projectcaelus/",
},
{
label: "Instagram",
href: "https://www.instagram.com/project.caelus/",
},
{
label: "LinkedIn",
href: "https://www.linkedin.com/company/projectcaelus/",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Project Caelus`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/facebook/docusaurus/edit/master/website/",
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};