Skip to content

Commit 208a3ed

Browse files
authored
docs: synchronize package versions, fix breaking docs build (#512)
Bumps the Docusaurus-related packages and uses the known-good configuration from Crawlee to fix the failing docs builds.
1 parent e7a685f commit 208a3ed

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

website/docusaurus.config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,16 @@ module.exports = {
3838
favicon: 'img/favicon.ico',
3939
githubHost: 'github.com',
4040
future: {
41-
experimental_faster: true,
41+
experimental_faster: {
42+
// ssgWorkerThreads: true,
43+
swcJsLoader: true,
44+
swcJsMinimizer: true,
45+
swcHtmlMinimizer: true,
46+
lightningCssMinimizer: true,
47+
rspackBundler: true,
48+
mdxCrossCompilerCache: true,
49+
rspackPersistentCache: true,
50+
},
4251
v4: {
4352
removeLegacyPostBuildHeadAttribute: true,
4453
useCssCascadeLayers: false, // this breaks styles on homepage and link colors everywhere

website/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
"lint:code:fix": "eslint . --fix"
2222
},
2323
"dependencies": {
24-
"@apify/docs-theme": "^1.0.181",
25-
"@apify/docusaurus-plugin-typedoc-api": "^4.4.3",
26-
"@docusaurus/core": "^3.7.0",
27-
"@docusaurus/faster": "^3.7.0",
28-
"@docusaurus/plugin-client-redirects": "^3.7.0",
29-
"@docusaurus/preset-classic": "^3.7.0",
24+
"@apify/docs-theme": "^1.0.185",
25+
"@apify/docusaurus-plugin-typedoc-api": "^4.4.6",
26+
"@docusaurus/core": "^3.8.1",
27+
"@docusaurus/faster": "^3.8.1",
28+
"@docusaurus/plugin-client-redirects": "^3.8.1",
29+
"@docusaurus/preset-classic": "^3.8.1",
3030
"clsx": "^2.0.0",
3131
"docusaurus-gtm-plugin": "^0.0.2",
3232
"prop-types": "^15.8.1",

0 commit comments

Comments
 (0)