@@ -11,6 +11,9 @@ module.exports = {
11
11
organizationName : "weaveworks" , // Usually your GitHub org/user name.
12
12
projectName : "weave-gitops" , // Usually your repo name.
13
13
trailingSlash : true ,
14
+ future : {
15
+ experimental_faster : true ,
16
+ } ,
14
17
plugins : [
15
18
( ) => ( {
16
19
// Load yaml files as blobs
@@ -34,11 +37,11 @@ module.exports = {
34
37
} ,
35
38
} ) ,
36
39
[
37
- '@docusaurus/plugin-client-redirects' ,
40
+ '@docusaurus/plugin-client-redirects' ,
38
41
{
39
42
fromExtensions : [ 'html' , 'htm' ] , // /myPage.html -> /myPage
40
43
redirects : [
41
- {
44
+ {
42
45
to : '/docs/intro-weave-gitops/' ,
43
46
from : [ '/docs/getting-started' ] ,
44
47
} ,
@@ -132,38 +135,38 @@ module.exports = {
132
135
] ,
133
136
} ,
134
137
{
135
- title : "Community" ,
136
- items : [
137
- {
138
- label : "GitHub" ,
139
- href : "https://github.com/weaveworks/weave-gitops" ,
140
- } ,
141
- ] ,
138
+ title : "Community" ,
139
+ items : [
140
+ {
141
+ label : "GitHub" ,
142
+ href : "https://github.com/weaveworks/weave-gitops" ,
143
+ } ,
144
+ ] ,
142
145
} ,
143
146
{
144
- title : 'Follow us' ,
145
- items : [
146
- {
147
- label : 'Facebook' ,
148
- href : 'https://www.facebook.com/WeaveworksInc/' ,
149
- } ,
150
- {
151
- label : 'LinkedIn' ,
152
- href : 'https://www.linkedin.com/company/weaveworks' ,
153
- } ,
154
- {
155
- label : 'Twitter' ,
156
- href : 'https://twitter.com/weaveworks' ,
157
- } ,
158
- {
159
- label : 'Slack' ,
160
- href : 'https://slack.weave.works/' ,
161
- } ,
162
- {
163
- label : 'Youtube' ,
164
- href : 'https://www.youtube.com/c/WeaveWorksInc' ,
165
- } ,
166
- ] ,
147
+ title : 'Follow us' ,
148
+ items : [
149
+ {
150
+ label : 'Facebook' ,
151
+ href : 'https://www.facebook.com/WeaveworksInc/' ,
152
+ } ,
153
+ {
154
+ label : 'LinkedIn' ,
155
+ href : 'https://www.linkedin.com/company/weaveworks' ,
156
+ } ,
157
+ {
158
+ label : 'Twitter' ,
159
+ href : 'https://twitter.com/weaveworks' ,
160
+ } ,
161
+ {
162
+ label : 'Slack' ,
163
+ href : 'https://slack.weave.works/' ,
164
+ } ,
165
+ {
166
+ label : 'Youtube' ,
167
+ href : 'https://www.youtube.com/c/WeaveWorksInc' ,
168
+ } ,
169
+ ] ,
167
170
} ,
168
171
] ,
169
172
logo : {
@@ -175,18 +178,18 @@ module.exports = {
175
178
} ,
176
179
copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Weaveworks` ,
177
180
} ,
178
- // algolia: {
179
- // appId: "Z1KEXCDHZE",
180
- // apiKey: process.env.ALGOLIA_API_KEY,
181
- // indexName: "weave",
182
- // // Needed to handle the different versions of docs
183
- // contextualSearch: true,
184
- //
185
- // // Optional: Algolia search parameters
186
- // // searchParameters: {
187
- // // facetFilters: ['type:content']
188
- // // },
189
- // },
181
+ // algolia: {
182
+ // appId: "Z1KEXCDHZE",
183
+ // apiKey: process.env.ALGOLIA_API_KEY,
184
+ // indexName: "weave",
185
+ // // Needed to handle the different versions of docs
186
+ // contextualSearch: true,
187
+ //
188
+ // // Optional: Algolia search parameters
189
+ // // searchParameters: {
190
+ // // facetFilters: ['type:content']
191
+ // // },
192
+ // },
190
193
} ,
191
194
scripts : [
192
195
{
@@ -226,14 +229,14 @@ module.exports = {
226
229
// anonymizeIP: true, // Should IPs be anonymized?
227
230
// },
228
231
sitemap : {
229
- changefreq : 'weekly' ,
230
- priority : 0.5 ,
231
- ignorePatterns : [
232
- '/docs/next/**' ,
233
- '/docs/archives/**' ,
234
- '/docs/*[0-9].*[0-9].*[0-9]/**'
235
- ] ,
236
- filename : 'sitemap.xml' ,
232
+ changefreq : 'weekly' ,
233
+ priority : 0.5 ,
234
+ ignorePatterns : [
235
+ '/docs/next/**' ,
236
+ '/docs/archives/**' ,
237
+ '/docs/*[0-9].*[0-9].*[0-9]/**'
238
+ ] ,
239
+ filename : 'sitemap.xml' ,
237
240
} ,
238
241
} ,
239
242
] ,
0 commit comments