Skip to content

Commit 5167a0a

Browse files
authored
chore: footer github url change (#69)
* fix: site description update Signed-off-by: Aditya Prasad Mohanty <[email protected]> * chore: footer github url change Signed-off-by: Aditya Prasad Mohanty <[email protected]> --------- Signed-off-by: Aditya Prasad Mohanty <[email protected]>
1 parent 046f174 commit 5167a0a

File tree

1 file changed

+104
-104
lines changed

1 file changed

+104
-104
lines changed

docusaurus.config.js

+104-104
Original file line numberDiff line numberDiff line change
@@ -8,153 +8,153 @@ const baseUrl = "/";
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: "KubeArmor",
12-
tagline: "Runtime Security Enforcement",
13-
favicon: "img/favicon.ico",
11+
title: 'KubeArmor',
12+
tagline: 'Runtime Security Enforcement',
13+
favicon: 'img/favicon.ico',
1414

1515
// Set the production url of your site here
16-
url: "https://kubearmor.io",
16+
url: 'https://kubearmor.io',
1717
// Set the /<baseUrl>/ pathname under which your site is served
1818
// For GitHub pages deployment, it is often '/<projectName>/'
19-
baseUrl: "/",
19+
baseUrl: '/',
2020

2121
// GitHub pages deployment config.
2222
// If you aren't using GitHub pages, you don't need these.
23-
organizationName: "kubearmor", // Usually your GitHub org/user name.
24-
projectName: "kubearmor.io", // Usually your repo name.
25-
onBrokenLinks: "throw",
26-
onBrokenMarkdownLinks: "warn",
23+
organizationName: 'kubearmor', // Usually your GitHub org/user name.
24+
projectName: 'kubearmor.io', // Usually your repo name.
25+
onBrokenLinks: 'throw',
26+
onBrokenMarkdownLinks: 'warn',
2727
trailingSlash: false,
2828
// Even if you don't use internalization, you can use this field to set useful
2929
// metadata like html lang. For example, if your site is Chinese, you may want
3030
// to replace "en" with "zh-Hans".
3131
i18n: {
32-
defaultLocale: "en",
33-
locales: ["en"],
32+
defaultLocale: 'en',
33+
locales: ['en'],
3434
},
3535

3636
presets: [
3737
[
38-
"classic",
38+
'classic',
3939
/** @type {import('@docusaurus/preset-classic').Options} */
4040
({
4141
docs: {
42-
sidebarPath: require.resolve("./sidebars.js"),
42+
sidebarPath: require.resolve('./sidebars.js'),
4343
// Please change this to your repo.
4444
// Remove this to remove the "edit this page" links.
4545
editUrl:
46-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
46+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
4747
},
4848
blog: {
49-
blogTitle: "Blogs",
50-
blogDescription: "A KubeArmor powered blog!",
51-
postsPerPage: "ALL",
49+
blogTitle: 'Blogs',
50+
blogDescription: 'A KubeArmor powered blog!',
51+
postsPerPage: 'ALL',
5252
showReadingTime: true,
5353
// Please change this to your repo.
5454
// Remove this to remove the "edit this page" links.
5555
editUrl:
56-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
56+
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
5757
},
5858
theme: {
59-
customCss: require.resolve("./src/css/custom.css"),
59+
customCss: require.resolve('./src/css/custom.css'),
6060
},
6161
}),
6262
],
6363
],
6464

6565
headTags: [
6666
{
67-
tagName: "link",
67+
tagName: 'link',
6868
attributes: {
69-
rel: "preload",
70-
href: "/font/Poppins/Poppins-Regular.ttf",
71-
as: "font",
72-
type: "font/ttf",
73-
crossorigin: "anonymous",
69+
rel: 'preload',
70+
href: '/font/Poppins/Poppins-Regular.ttf',
71+
as: 'font',
72+
type: 'font/ttf',
73+
crossorigin: 'anonymous',
7474
},
7575
},
7676
{
77-
tagName: "link",
77+
tagName: 'link',
7878
attributes: {
79-
rel: "preload",
80-
href: "/font/Poppins/Poppins-Medium.ttf",
81-
as: "font",
82-
type: "font/ttf",
83-
crossorigin: "anonymous",
79+
rel: 'preload',
80+
href: '/font/Poppins/Poppins-Medium.ttf',
81+
as: 'font',
82+
type: 'font/ttf',
83+
crossorigin: 'anonymous',
8484
},
8585
},
8686
{
87-
tagName: "link",
87+
tagName: 'link',
8888
attributes: {
89-
rel: "preload",
90-
href: "/font/Poppins/Poppins-SemiBold.ttf",
91-
as: "font",
92-
type: "font/ttf",
93-
crossorigin: "anonymous",
89+
rel: 'preload',
90+
href: '/font/Poppins/Poppins-SemiBold.ttf',
91+
as: 'font',
92+
type: 'font/ttf',
93+
crossorigin: 'anonymous',
9494
},
9595
},
9696
{
97-
tagName: "link",
97+
tagName: 'link',
9898
attributes: {
99-
rel: "preload",
100-
href: "/font/Poppins/Poppins-Bold.ttf",
101-
as: "font",
102-
type: "font/ttf",
103-
crossorigin: "anonymous",
99+
rel: 'preload',
100+
href: '/font/Poppins/Poppins-Bold.ttf',
101+
as: 'font',
102+
type: 'font/ttf',
103+
crossorigin: 'anonymous',
104104
},
105105
},
106106
{
107-
tagName: "link",
107+
tagName: 'link',
108108
attributes: {
109-
rel: "preload",
110-
href: "/font/RobotoMono/RobotoMono-Regular.ttf",
111-
as: "font",
112-
type: "font/ttf",
113-
crossorigin: "anonymous",
109+
rel: 'preload',
110+
href: '/font/RobotoMono/RobotoMono-Regular.ttf',
111+
as: 'font',
112+
type: 'font/ttf',
113+
crossorigin: 'anonymous',
114114
},
115115
},
116116
{
117-
tagName: "link",
117+
tagName: 'link',
118118
attributes: {
119-
rel: "preload",
120-
href: "/font/RobotoMono/RobotoMono-Bold.ttf",
121-
as: "font",
122-
type: "font/ttf",
123-
crossorigin: "anonymous",
119+
rel: 'preload',
120+
href: '/font/RobotoMono/RobotoMono-Bold.ttf',
121+
as: 'font',
122+
type: 'font/ttf',
123+
crossorigin: 'anonymous',
124124
},
125125
},
126126
{
127-
tagName: "link",
127+
tagName: 'link',
128128
attributes: {
129-
rel: "preload",
130-
href: "/font/SourceCodePro/SourceCodePro-SemiBold.ttf",
131-
as: "font",
132-
type: "font/ttf",
133-
crossorigin: "anonymous",
129+
rel: 'preload',
130+
href: '/font/SourceCodePro/SourceCodePro-SemiBold.ttf',
131+
as: 'font',
132+
type: 'font/ttf',
133+
crossorigin: 'anonymous',
134134
},
135135
},
136136
{
137-
tagName: "link",
137+
tagName: 'link',
138138
attributes: {
139-
rel: "preload",
140-
href: "/font/SourceCodePro/SourceCodePro-Medium.ttf",
141-
as: "font",
142-
type: "font/ttf",
143-
crossorigin: "anonymous",
139+
rel: 'preload',
140+
href: '/font/SourceCodePro/SourceCodePro-Medium.ttf',
141+
as: 'font',
142+
type: 'font/ttf',
143+
crossorigin: 'anonymous',
144144
},
145145
},
146146
],
147-
stylesheets: ["./src/css/custom.css"],
147+
stylesheets: ['./src/css/custom.css'],
148148

149149
themeConfig:
150150
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
151151
({
152152
// Replace with your project's social card
153-
image: "img/kubearmor/kubearmor-social-card.jpg",
153+
image: 'img/kubearmor/kubearmor-social-card.jpg',
154154
navbar: {
155155
logo: {
156-
alt: "KubeArmor Logo",
157-
src: "img/kubearmor/kubearmor-light-bg.svg",
156+
alt: 'KubeArmor Logo',
157+
src: 'img/kubearmor/kubearmor-light-bg.svg',
158158
},
159159
items: [
160160
// {
@@ -164,76 +164,76 @@ const config = {
164164
// label: "Tutorial",
165165
// },
166166
{
167-
to: "/",
168-
label: "Home",
169-
position: "left",
167+
to: '/',
168+
label: 'Home',
169+
position: 'left',
170170
},
171-
{ to: "https://github.com/kubearmor/KubeArmor/wiki", label: "Blog", position: "left" },
171+
{ to: 'https://github.com/kubearmor/KubeArmor/wiki', label: 'Blog', position: 'left' },
172172
{
173-
to: "https://docs.kubearmor.io/kubearmor/",
174-
label: "Documentation",
175-
position: "left",
173+
to: 'https://docs.kubearmor.io/kubearmor/',
174+
label: 'Documentation',
175+
position: 'left',
176176
},
177-
{ to: "/community", label: "Community", position: "left" },
177+
{ to: '/community', label: 'Community', position: 'left' },
178178
{
179-
type: "custom-GitHubStarButton",
180-
position: "right",
179+
type: 'custom-GitHubStarButton',
180+
position: 'right',
181181
itemProp: 44,
182-
anotherProp: "xyz",
182+
anotherProp: 'xyz',
183183
},
184184
{
185-
type: "custom-SlackIconButton",
186-
position: "right",
185+
type: 'custom-SlackIconButton',
186+
position: 'right',
187187
itemProp: 45,
188-
anotherProp: "abc",
188+
anotherProp: 'abc',
189189
},
190190
],
191191
},
192192
footer: {
193-
style: "dark",
193+
style: 'dark',
194194
logo: {
195-
alt: "KubeArmor Official Logo",
196-
src: "img/kubearmor/kubearmor-dark-bg.svg",
195+
alt: 'KubeArmor Official Logo',
196+
src: 'img/kubearmor/kubearmor-dark-bg.svg',
197197
href: `${url + baseUrl}`,
198198
width: 160,
199199
height: 51,
200200
},
201201
links: [
202202
{
203-
title: "Organization",
203+
title: 'Organization',
204204
items: [
205205
{
206-
label: "Blog",
207-
to: "https://github.com/kubearmor/KubeArmor/wiki",
206+
label: 'Blog',
207+
to: 'https://github.com/kubearmor/KubeArmor/wiki',
208208
},
209209
{
210-
label: "Documentation",
211-
to: "https://docs.kubearmor.io/kubearmor/",
210+
label: 'Documentation',
211+
to: 'https://docs.kubearmor.io/kubearmor/',
212212
},
213213
{
214-
label: "Community",
214+
label: 'Community',
215215
to: `${url + baseUrl}/community`,
216216
},
217217
],
218218
},
219219
{
220-
title: "Socials",
220+
title: 'Socials',
221221
items: [
222222
{
223-
label: "Twitter",
224-
to: "https://twitter.com/KubeArmor",
223+
label: 'Twitter',
224+
to: 'https://twitter.com/KubeArmor',
225225
},
226226
{
227-
label: "GitHub",
228-
to: "https://github.com/facebook/docusaurus",
227+
label: 'GitHub',
228+
to: 'https://github.com/kubearmor/kubearmor.io',
229229
},
230230
{
231-
label: "Slack",
232-
to: "https://join.slack.com/t/kubearmor/shared_invite/zt-1ltmqdbc6-rSHw~LM6MesZZasmP2hAcA/",
231+
label: 'Slack',
232+
to: 'https://join.slack.com/t/kubearmor/shared_invite/zt-1ltmqdbc6-rSHw~LM6MesZZasmP2hAcA/',
233233
},
234234
{
235-
label: "LinkedIn",
236-
to: "https://www.linkedin.com/company/kubearmor/",
235+
label: 'LinkedIn',
236+
to: 'https://www.linkedin.com/company/kubearmor/',
237237
},
238238
],
239239
},
@@ -245,7 +245,7 @@ const config = {
245245
darkTheme: darkCodeTheme,
246246
},
247247
colorMode: {
248-
defaultMode: "light",
248+
defaultMode: 'light',
249249
disableSwitch: true,
250250
respectPrefersColorScheme: false,
251251
},

0 commit comments

Comments
 (0)