@@ -8,153 +8,153 @@ const baseUrl = "/";
8
8
9
9
/** @type {import('@docusaurus/types').Config } */
10
10
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' ,
14
14
15
15
// Set the production url of your site here
16
- url : " https://kubearmor.io" ,
16
+ url : ' https://kubearmor.io' ,
17
17
// Set the /<baseUrl>/ pathname under which your site is served
18
18
// For GitHub pages deployment, it is often '/<projectName>/'
19
- baseUrl : "/" ,
19
+ baseUrl : '/' ,
20
20
21
21
// GitHub pages deployment config.
22
22
// 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' ,
27
27
trailingSlash : false ,
28
28
// Even if you don't use internalization, you can use this field to set useful
29
29
// metadata like html lang. For example, if your site is Chinese, you may want
30
30
// to replace "en" with "zh-Hans".
31
31
i18n : {
32
- defaultLocale : "en" ,
33
- locales : [ "en" ] ,
32
+ defaultLocale : 'en' ,
33
+ locales : [ 'en' ] ,
34
34
} ,
35
35
36
36
presets : [
37
37
[
38
- " classic" ,
38
+ ' classic' ,
39
39
/** @type {import('@docusaurus/preset-classic').Options } */
40
40
( {
41
41
docs : {
42
- sidebarPath : require . resolve ( " ./sidebars.js" ) ,
42
+ sidebarPath : require . resolve ( ' ./sidebars.js' ) ,
43
43
// Please change this to your repo.
44
44
// Remove this to remove the "edit this page" links.
45
45
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/' ,
47
47
} ,
48
48
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' ,
52
52
showReadingTime : true ,
53
53
// Please change this to your repo.
54
54
// Remove this to remove the "edit this page" links.
55
55
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/' ,
57
57
} ,
58
58
theme : {
59
- customCss : require . resolve ( " ./src/css/custom.css" ) ,
59
+ customCss : require . resolve ( ' ./src/css/custom.css' ) ,
60
60
} ,
61
61
} ) ,
62
62
] ,
63
63
] ,
64
64
65
65
headTags : [
66
66
{
67
- tagName : " link" ,
67
+ tagName : ' link' ,
68
68
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' ,
74
74
} ,
75
75
} ,
76
76
{
77
- tagName : " link" ,
77
+ tagName : ' link' ,
78
78
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' ,
84
84
} ,
85
85
} ,
86
86
{
87
- tagName : " link" ,
87
+ tagName : ' link' ,
88
88
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' ,
94
94
} ,
95
95
} ,
96
96
{
97
- tagName : " link" ,
97
+ tagName : ' link' ,
98
98
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' ,
104
104
} ,
105
105
} ,
106
106
{
107
- tagName : " link" ,
107
+ tagName : ' link' ,
108
108
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' ,
114
114
} ,
115
115
} ,
116
116
{
117
- tagName : " link" ,
117
+ tagName : ' link' ,
118
118
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' ,
124
124
} ,
125
125
} ,
126
126
{
127
- tagName : " link" ,
127
+ tagName : ' link' ,
128
128
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' ,
134
134
} ,
135
135
} ,
136
136
{
137
- tagName : " link" ,
137
+ tagName : ' link' ,
138
138
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' ,
144
144
} ,
145
145
} ,
146
146
] ,
147
- stylesheets : [ " ./src/css/custom.css" ] ,
147
+ stylesheets : [ ' ./src/css/custom.css' ] ,
148
148
149
149
themeConfig :
150
150
/** @type {import('@docusaurus/preset-classic').ThemeConfig } */
151
151
( {
152
152
// Replace with your project's social card
153
- image : " img/kubearmor/kubearmor-social-card.jpg" ,
153
+ image : ' img/kubearmor/kubearmor-social-card.jpg' ,
154
154
navbar : {
155
155
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' ,
158
158
} ,
159
159
items : [
160
160
// {
@@ -164,76 +164,76 @@ const config = {
164
164
// label: "Tutorial",
165
165
// },
166
166
{
167
- to : "/" ,
168
- label : " Home" ,
169
- position : " left" ,
167
+ to : '/' ,
168
+ label : ' Home' ,
169
+ position : ' left' ,
170
170
} ,
171
- { to : " https://github.com/kubearmor/KubeArmor/wiki" , label : " Blog" , position : " left" } ,
171
+ { to : ' https://github.com/kubearmor/KubeArmor/wiki' , label : ' Blog' , position : ' left' } ,
172
172
{
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' ,
176
176
} ,
177
- { to : " /community" , label : " Community" , position : " left" } ,
177
+ { to : ' /community' , label : ' Community' , position : ' left' } ,
178
178
{
179
- type : " custom-GitHubStarButton" ,
180
- position : " right" ,
179
+ type : ' custom-GitHubStarButton' ,
180
+ position : ' right' ,
181
181
itemProp : 44 ,
182
- anotherProp : " xyz" ,
182
+ anotherProp : ' xyz' ,
183
183
} ,
184
184
{
185
- type : " custom-SlackIconButton" ,
186
- position : " right" ,
185
+ type : ' custom-SlackIconButton' ,
186
+ position : ' right' ,
187
187
itemProp : 45 ,
188
- anotherProp : " abc" ,
188
+ anotherProp : ' abc' ,
189
189
} ,
190
190
] ,
191
191
} ,
192
192
footer : {
193
- style : " dark" ,
193
+ style : ' dark' ,
194
194
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' ,
197
197
href : `${ url + baseUrl } ` ,
198
198
width : 160 ,
199
199
height : 51 ,
200
200
} ,
201
201
links : [
202
202
{
203
- title : " Organization" ,
203
+ title : ' Organization' ,
204
204
items : [
205
205
{
206
- label : " Blog" ,
207
- to : " https://github.com/kubearmor/KubeArmor/wiki" ,
206
+ label : ' Blog' ,
207
+ to : ' https://github.com/kubearmor/KubeArmor/wiki' ,
208
208
} ,
209
209
{
210
- label : " Documentation" ,
211
- to : " https://docs.kubearmor.io/kubearmor/" ,
210
+ label : ' Documentation' ,
211
+ to : ' https://docs.kubearmor.io/kubearmor/' ,
212
212
} ,
213
213
{
214
- label : " Community" ,
214
+ label : ' Community' ,
215
215
to : `${ url + baseUrl } /community` ,
216
216
} ,
217
217
] ,
218
218
} ,
219
219
{
220
- title : " Socials" ,
220
+ title : ' Socials' ,
221
221
items : [
222
222
{
223
- label : " Twitter" ,
224
- to : " https://twitter.com/KubeArmor" ,
223
+ label : ' Twitter' ,
224
+ to : ' https://twitter.com/KubeArmor' ,
225
225
} ,
226
226
{
227
- label : " GitHub" ,
228
- to : " https://github.com/facebook/docusaurus" ,
227
+ label : ' GitHub' ,
228
+ to : ' https://github.com/kubearmor/kubearmor.io' ,
229
229
} ,
230
230
{
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/' ,
233
233
} ,
234
234
{
235
- label : " LinkedIn" ,
236
- to : " https://www.linkedin.com/company/kubearmor/" ,
235
+ label : ' LinkedIn' ,
236
+ to : ' https://www.linkedin.com/company/kubearmor/' ,
237
237
} ,
238
238
] ,
239
239
} ,
@@ -245,7 +245,7 @@ const config = {
245
245
darkTheme : darkCodeTheme ,
246
246
} ,
247
247
colorMode : {
248
- defaultMode : " light" ,
248
+ defaultMode : ' light' ,
249
249
disableSwitch : true ,
250
250
respectPrefersColorScheme : false ,
251
251
} ,
0 commit comments