-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocusaurus.config.ts
102 lines (96 loc) · 2.4 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
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
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: "Cardano Scaling",
url: "https://cardano-scaling.org",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/faviconl.io",
organizationName: "Input Output",
projectName: "Cardano Scaling",
staticDirectories: ["static"],
scripts: [
{
src: "https://plausible.io/js/script.js",
defer: true,
"data-domain": "hydra.family",
},
],
i18n: {
defaultLocale: "en",
locales: ['en'],
},
presets: [
[
'classic',
{
blog: {
id: "monthly",
path: "monthly",
routeBasePath: "monthly",
authorsMapPath: "../authors.yaml",
editUrl: "https://github.com/cardano-scaling/website/tree/master/",
blogSidebarTitle: 'Monthly reports',
blogSidebarCount: 'ALL',
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
}
}
]
],
themeConfig: {
navbar: {
title: "Cardano Scaling",
logo: {
src: "img/scaling-logo-draft-black.png",
srcDark: "img/scaling-logo-draft-white.png",
},
items: [
{
to: "/monthly",
label: "Monthly reports",
position: "left",
},
{
href: "https://github.com/cardano-scaling",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Legal",
items: [
{
label: "Terms & Conditions",
to: "https://static.iohk.io/terms/iohktermsandconditions.pdf",
},
{
label: "Privacy Policy",
to: "https://static.iohk.io/terms/iog-privacy-policy.pdf",
},
{
label: "Contributors",
to: "https://github.com/orgs/cardano-scaling/people",
},
],
},
],
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ["haskell"],
}
},
markdown: {
mermaid: true,
},
};
export default config;