-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocusaurus.config.js
138 lines (132 loc) · 3.63 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
module.exports = {
title: "Magnolia Headless Documentation",
tagline: "Magnolia Headless documentation has joined the central Magnolia docs site.",
url: "https://hd.magnolia-cms.com",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "magnolia-cms", // Usually your GitHub org/user name.
projectName: "magnolia-headless-docs", // Usually your repo name.
themeConfig: {
sidebarCollapsible: true,
navbar: {
title: "Headless Docs",
logo: {
alt: "Magnolia Logo",
src: "img/magnolia-medium.png",
},
items: [
{ to: "docs/introduction", label: "Docs", position: "left" },
{
href: "https://magnolia-cms.com",
label: "Magnolia",
position: "right",
},
{
href: "https://ha.magnolia-cms.com",
label: "Headless Accelerator",
position: "right",
},
{
href: "https://documentation.magnolia-cms.com/DOCS/",
label: "Full Docs",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/getting-started/start",
},
{
label: "Help!",
href: "https://groups.google.com/a/magnolia-cms.com/forum/#!forum/user-list",
},
{
label: "Feedback / Bugs",
href: "mailto:headless-docs@magnolia-cms.com",
},
],
},
{
title: "Community",
items: [
{
label: "Magnolia Homepage",
href: "https://magnolia-cms.com",
},
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/magnolia",
},
{
label: "User Group List",
href:
"https://groups.google.com/a/magnolia-cms.com/forum/#!forum/user-list",
},
{
label: "Community Wiki",
href: "https://wiki.magnolia-cms.com",
},
{
label: "Newsletter",
href: "https://www.magnolia-cms.com/email.html",
},
],
},
{
title: "Social",
items: [
{
label: "Blog",
href: "https://blog.magnolia-cms.com/",
},
{
label: "GitHub",
href: "https://github.com/magnolia-cms",
},
{
label: "Twitter",
href: "https://twitter.com/magnolia_cms",
},
{
label: "Youtube",
href: "https://www.youtube.com/user/MagnoliaCMSystem/videos",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Magnolia International Ltd. `,
},
googleAnalytics: {
trackingID: "UA-162140716-1",
// Optional fields.
anonymizeIP: true, // Should IPs be anonymized?
},
algolia: {
apiKey: "4c9ca31a48299ccca5ac1ae42eea75d0",
indexName: "magnolia-cms_hd",
algoliaOptions: {}, // Optional, if provided by Algolia
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl:
"https://github.com/magnolia-cms/headless-documentation/edit/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};