Skip to content

upgrade to Docusaurus 3.8.1 #3943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions docusaurus.config.en.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,8 @@ const config = {
],
// Settings for Docusaurus Faster - build optimizations
future: {
experimental_faster: {
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
experimental_faster: true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with all flags on we can replace it with a single command. v4: true for Docusaurus v4 future flags. See https://docusaurus.io/blog/releases/3.8#future-flags

v4: true,
},
title: "ClickHouse Docs",
tagline:
Expand Down
10 changes: 2 additions & 8 deletions docusaurus.config.jp.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ const config = {
],
// Settings for Docusaurus Faster - build optimizations
future: {
experimental_faster: {
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
experimental_faster: true,
v4: true,
},
title: "ClickHouse Docs",
tagline:
Expand Down
10 changes: 2 additions & 8 deletions docusaurus.config.ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ const config = {
],
// Settings for Docusaurus Faster - build optimizations
future: {
experimental_faster: {
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
experimental_faster: true,
v4: true,
},
title: "ClickHouse Docs",
tagline:
Expand Down
10 changes: 2 additions & 8 deletions docusaurus.config.zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ const config = {
],
// Settings for Docusaurus Faster - build optimizations
future: {
experimental_faster: {
swcJsLoader: true,
swcJsMinimizer: true,
swcHtmlMinimizer: true,
lightningCssMinimizer: true,
rspackBundler: true,
mdxCrossCompilerCache: true,
},
experimental_faster: true,
v4: true,
},
title: "ClickHouse Docs",
tagline:
Expand Down
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"write-heading-ids": "docusaurus write-heading-ids",
"run-markdown-linter": "yarn check-markdown",
"run-indexer": "bash ./scripts/search/run_indexer.sh",
"check-style": "yarn check-markdown && yarn check-spelling && yarn check-kb && yarn check-prose",
"check-style": "yarn check-spelling && yarn check-kb && yarn check-prose && yarn build",
"check-spelling": "./scripts/check-doc-aspell",
"check-kb": "./scripts/check-kb.sh",
"check-markdown": "./scripts/check-markdown.sh",
Expand All @@ -34,18 +34,20 @@
"@algolia/client-search": "^5.24.0",
"@clickhouse/click-ui": "^0.0.199",
"@clickhouse/client-web": "^1.11.1",
"@docusaurus/core": "3.7.0",
"@docusaurus/faster": "^3.7.0",
"@docusaurus/plugin-client-redirects": "^3.7.0",
"@docusaurus/plugin-google-tag-manager": "^3.7.0",
"@docusaurus/plugin-ideal-image": "^3.7.0",
"@docusaurus/core": "^3.8.1",
"@docusaurus/faster": "^3.8.1",
"@docusaurus/plugin-client-redirects": "^3.8.1",
"@docusaurus/plugin-content-docs": "^3.8.1",
"@docusaurus/plugin-google-tag-manager": "^3.8.1",
"@docusaurus/plugin-ideal-image": "^3.8.1",
"@docusaurus/plugin-vercel-analytics": "^3.7.0",
"@docusaurus/preset-classic": "3.7.0",
"@docusaurus/theme-mermaid": "3.7.0",
"@docusaurus/preset-classic": "^3.8.1",
"@docusaurus/theme-mermaid": "^3.8.1",
"@docusaurus/theme-search-algolia": "^3.7.0",
"@mdx-js/react": "^3.1.0",
"@radix-ui/react-navigation-menu": "^1.2.13",
"@redocly/cli": "^1.34.0",
"@slorber/react-ideal-image": "^0.0.14",
"axios": "^1.8.2",
"clsx": "^2.1.0",
"docusaurus-plugin-sass": "^0.2.6",
Expand All @@ -66,6 +68,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-medium-image-zoom": "^5.2.14",
"react-waypoint": "^10.3.0",
"rehype-katex": "^7.0.1",
"remark-docusaurus-tabs": "^0.2.0",
"remark-link-rewrite": "^1.0.7",
Expand Down
Empty file removed redocly.yaml
Empty file.
Loading
Loading