forked from fkhadra/react-toastify-doc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
54 lines (54 loc) · 1.51 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
module.exports = {
title: "React-Toastify",
tagline: "React notification made easy !",
url: "https://fkhadra.github.io/",
baseUrl: "/react-toastify/",
favicon: "img/favicon.ico",
organizationName: "fkhadra",
projectName: "react-toastify",
themeConfig: {
prism: {
theme: require("prism-react-renderer/themes/github"),
darkTheme: require("prism-react-renderer/themes/dracula"),
},
navbar: {
title: "React-Toastify",
links: [
{
to: "https://github.com/fkhadra/react-toastify",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
copyright: `Copyright © ${new Date().getFullYear()} Fadi Khadra`,
},
announcementBar: {
id: "sponsor", // Any value that will identify this message
content:
'Hey you like my work? Consider <a target="_blank" rel="noopener noreferrer" href="https://github.com/sponsors/fkhadra">sponsoring</a> me',
},
algolia: {
apiKey: "f54fc6c27b73c67cf37ad6f02753423b",
indexName: "react-toastify",
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
routeBasePath: "",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/fkhadra/react-toastify-doc/edit/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};