-
Notifications
You must be signed in to change notification settings - Fork 1
/
docusaurus.config.js
253 lines (246 loc) · 9.05 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const lightCodeTheme = require("prism-react-renderer").themes.github;
const darkCodeTheme = require("prism-react-renderer").themes.dracula;
/** @type {import('@docusaurus/types').Config} */
const config = {
title: "CloudMyDC Documentation",
tagline:
"Easy, accessible, affordable cloud for all Hyperconverged, production- ready OpenStack for service providers, enabling lower cost IaaS, PaaS and XaaS for businesses everywhere",
favicon: "img/favicon.ico",
url: "https://docs.cloudmydc.com/",
baseUrl: "/",
organizationName: "Onemind Services LLC",
projectName: "cloudmydc-docs",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "throw",
onBrokenAnchors: "throw",
onDuplicateRoutes: "throw",
i18n: {
defaultLocale: "en",
locales: ["en"],
},
presets: [
[
"classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
remarkPlugins: [require("remark-slug")],
routeBasePath: "/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
}),
],
],
themes: [
"@inkeep/docusaurus/chatButton",
// require.resolve("@inkeep/docusaurus/chatButton"),
"@inkeep/docusaurus/searchBar",
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
// customCss: [require.resolve('./src/css/custom-dark-theme.css')],
image: "img/footer/cmdc.png",
metadata: [
{ name: "og:title", content: "CloudMyDC Documentation" },
{
name: "og:description",
content:
"Essential guides for deploying and optimizing virtualization and cloud solutions",
},
{ name: "og:image", content: "img/footer/cmdc.png" },
{ name: "og:url", content: "https://docs.cloudmydc.com" },
],
navbar: {
title: "CloudMyDC",
logo: {
alt: "My Site Logo",
src: "img/ThumbnailSquare.png",
},
items: [],
},
footer: {
// style: 'dark',
links: [
{
items: [
{
html: `
<div>
<a target="_blank" rel="noopener noreferrer" href="https://cloudmydc.com/">
<img
alt="Powered by Vercel"
style="margin-top: 8px"
width="250px"
src='/img/footer/cmdc.png'
/>
</a>
</div>
<div class="social_media_icons_container">
<div class="social_media_icons_box">
<a href="https://www.linkedin.com/company/cloudmydc/about/">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
version="1.1"
id="Capa_1"
x="0px"
y="0px"
viewBox="0 0 24 24"
xmlSpace="preserve"
width="15px"
height="15px"
>
<g>
<path
id="Path_2525"
d="M23.002,21.584h0.227l-0.435-0.658l0,0c0.266,0,0.407-0.169,0.409-0.376c0-0.008,0-0.017-0.001-0.025 c0-0.282-0.17-0.417-0.519-0.417h-0.564v1.476h0.212v-0.643h0.261L23.002,21.584z M22.577,20.774h-0.246v-0.499h0.312 c0.161,0,0.345,0.026,0.345,0.237c0,0.242-0.186,0.262-0.412,0.262"
fill="var(--ifm-footer-link-color)"
/>
<path
id="Path_2520"
d="M17.291,19.073h-3.007v-4.709c0-1.123-0.02-2.568-1.564-2.568c-1.566,0-1.806,1.223-1.806,2.487v4.79H7.908 V9.389h2.887v1.323h0.04c0.589-1.006,1.683-1.607,2.848-1.564c3.048,0,3.609,2.005,3.609,4.612L17.291,19.073z M4.515,8.065 c-0.964,0-1.745-0.781-1.745-1.745c0-0.964,0.781-1.745,1.745-1.745c0.964,0,1.745,0.781,1.745,1.745 C6.26,7.284,5.479,8.065,4.515,8.065L4.515,8.065 M6.018,19.073h-3.01V9.389h3.01V19.073z M18.79,1.783H1.497 C0.68,1.774,0.01,2.429,0,3.246V20.61c0.01,0.818,0.68,1.473,1.497,1.464H18.79c0.819,0.01,1.492-0.645,1.503-1.464V3.245 c-0.012-0.819-0.685-1.474-1.503-1.463"
fill="var(--ifm-footer-link-color)"
/>
<path
id="Path_2526"
d="M22.603,19.451c-0.764,0.007-1.378,0.633-1.37,1.397c0.007,0.764,0.633,1.378,1.397,1.37 c0.764-0.007,1.378-0.633,1.37-1.397c-0.007-0.754-0.617-1.363-1.37-1.37H22.603 M22.635,22.059 c-0.67,0.011-1.254-0.522-1.265-1.192c-0.011-0.67,0.523-1.222,1.193-1.233c0.67-0.011,1.222,0.523,1.233,1.193 c0,0.007,0,0.013,0,0.02C23.81,21.502,23.29,22.045,22.635,22.059h-0.031"
fill="var(--ifm-footer-link-color)"
/>
</g>
</svg>
</a>
</div>
</div>
`,
},
],
},
{
title: "Features",
items: [
{
label: "Platform as a Service",
to: "https://cloudmydc.com/paas",
// href: 'link'
},
{
label: "Infrastructure as a Service",
to: "https://cloudmydc.com/iaas",
},
{
label: "Data Centers",
to: "https://cloudmydc.com/data-center",
},
{
label: "Advanced Network",
to: "https://cloudmydc.com/advance-network",
},
{
label: "Blog",
to: "https://cloudmydc.com/blog",
},
],
},
{
title: "Support",
items: [
{
label: "Home",
to: "https://cloudmydc.com/",
},
{
label: "About us",
to: "https://cloudmydc.com/about-us",
},
{
label: "Contact us",
to: "https://cloudmydc.com/contact-us",
},
{
label: "Partners",
to: "https://cloudmydc.com/partners",
},
{
label: "Terms Of Services",
to: "https://cloudmydc.com/tos",
},
],
},
{
title: "Contact Us",
items: [
{
label: "[email protected]",
to: "mailto:[email protected]",
className: "footer_icon_svg_1",
},
{
label: "[email protected]",
to: "mailto:[email protected]",
className: "footer_icon_svg_2",
},
{
label: "1-866-666-5679",
to: "tel:1-866-666-5679",
className: "footer_icon_svg_3",
},
{
label: "11501 Dublin Bvld, Suite#200 Dublin CA 94568",
to: "https://maps.google.com?q=11501 Dublin Bvld, Suite#200 Dublin CA 94568",
className: "footer_icon_svg_4",
},
],
},
],
copyright: `
<div class="copyright_container">
<div>
Copyright © ${new Date().getFullYear()} <a href="https://cloudmydc.com">cloudmydc.com</a> | All rights reserved.
</div>
<div>
<a href="https://cloudmydc.com/privacy-policies">Privacy Policies</a>
<a href="https://cloudmydc.com/cookie-policies">Cookie Policies</a>
</div>
</div>
`,
},
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
},
inkeepConfig: {
baseSettings: {
apiKey: "130cc7aeea62964fd815f8a017ac1651a2dffdcc2efbcb57",
integrationId: "clrzsnjn6003i11ndy0dq54ax",
organizationId: "org_wPLq0gqphYeQMbTh",
primaryBrandColor: "#003F70",
},
aiChatSettings: {
chatSubjectName: "CloudMyDC",
botAvatarSrcUrl: "https://docs.cloudmydc.com/img/favicon.ico",
quickQuestions: [
"How is scaling managed?",
"How do I add caching to my project?",
"How do I add 2FA?",
],
getHelpCallToActions: [
{
url: "mailto:[email protected]",
name: "Support",
icon: {
builtIn: "IoMail",
},
},
],
},
},
}),
};
module.exports = config;