Skip to content

Commit 90a93ed

Browse files
authored
[version-4-7] chore: backport/version-4-7/pr-7502 (#7552)
* [version-4-7] chore: backport/version-4-7/pr-7502 * ci: adding missing robots.txt or updating noindex in docusaurus.config.js --------- Co-authored-by: achuribooks <182707758+achuribooks@users.noreply.github.com>
1 parent 4203bca commit 90a93ed

File tree

3 files changed

+2155
-2426
lines changed

3 files changed

+2155
-2426
lines changed

docusaurus.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,20 @@ const config = {
135135
locales: ["en"],
136136
},
137137
future: {
138+
v4: {
139+
removeLegacyPostBuildHeadAttribute: true,
140+
useCssCascadeLayers: true, // Slightly decreases padding of admonitions when set to `true`.
141+
},
138142
experimental_faster: {
143+
ssgWorkerThreads: false,
144+
// Set to 'false' as Netlify builds fail with this enabled.
139145
swcJsLoader: false,
140146
// Set to 'false' as Netlify builds fail with this enabled.
141147
swcJsMinimizer: true,
142148
swcHtmlMinimizer: true,
143149
lightningCssMinimizer: true,
144150
rspackBundler: true,
151+
rspackPersistentCache: true,
145152
mdxCrossCompilerCache: true,
146153
},
147154
},

0 commit comments

Comments
 (0)