diff --git a/admin/new.docusaurus.io/package.json b/admin/new.docusaurus.io/package.json
index d12196b7cad0..e733f5a5b18e 100644
--- a/admin/new.docusaurus.io/package.json
+++ b/admin/new.docusaurus.io/package.json
@@ -1,6 +1,6 @@
{
"name": "new.docusaurus.io",
- "version": "2.4.0",
+ "version": "2.4.1",
"private": true,
"scripts": {
"start": "npx --package netlify-cli netlify dev"
diff --git a/lerna.json b/lerna.json
index 1df32d556b7b..2f45f439bcbd 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "2.4.0",
+ "version": "2.4.1",
"npmClient": "yarn",
"useWorkspaces": true,
"changelog": {
diff --git a/packages/create-docusaurus/package.json b/packages/create-docusaurus/package.json
index 33a79840d1c7..e1a31c23cb49 100755
--- a/packages/create-docusaurus/package.json
+++ b/packages/create-docusaurus/package.json
@@ -1,6 +1,6 @@
{
"name": "create-docusaurus",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Create Docusaurus apps easily.",
"type": "module",
"repository": {
@@ -22,8 +22,8 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/utils": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
"commander": "^5.1.0",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
diff --git a/packages/create-docusaurus/src/index.ts b/packages/create-docusaurus/src/index.ts
index d2ac2150fe8c..a0eca721f0d3 100755
--- a/packages/create-docusaurus/src/index.ts
+++ b/packages/create-docusaurus/src/index.ts
@@ -241,7 +241,7 @@ async function getSiteName(
return true;
}
if (reqName) {
- const res = validateSiteName(reqName);
+ const res = await validateSiteName(reqName);
if (typeof res === 'string') {
throw new Error(res);
}
diff --git a/packages/create-docusaurus/templates/classic-typescript/package.json b/packages/create-docusaurus/templates/classic-typescript/package.json
index 6cbe169936c2..5c51ce2d1fb5 100644
--- a/packages/create-docusaurus/templates/classic-typescript/package.json
+++ b/packages/create-docusaurus/templates/classic-typescript/package.json
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-classic-typescript-template",
- "version": "2.4.0",
+ "version": "2.4.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -15,8 +15,8 @@
"typecheck": "tsc"
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/preset-classic": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
@@ -24,7 +24,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0",
+ "@docusaurus/module-type-aliases": "2.4.1",
"@tsconfig/docusaurus": "^1.0.5",
"typescript": "^4.7.4"
},
diff --git a/packages/create-docusaurus/templates/classic/package.json b/packages/create-docusaurus/templates/classic/package.json
index 370a4d4231c2..81650bb64a7b 100644
--- a/packages/create-docusaurus/templates/classic/package.json
+++ b/packages/create-docusaurus/templates/classic/package.json
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-classic-template",
- "version": "2.4.0",
+ "version": "2.4.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -14,8 +14,8 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/preset-classic": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
@@ -23,7 +23,7 @@
"react-dom": "^17.0.2"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0"
+ "@docusaurus/module-type-aliases": "2.4.1"
},
"browserslist": {
"production": [
diff --git a/packages/create-docusaurus/templates/facebook/package.json b/packages/create-docusaurus/templates/facebook/package.json
index e876b63405e4..2ee853f2c5c3 100644
--- a/packages/create-docusaurus/templates/facebook/package.json
+++ b/packages/create-docusaurus/templates/facebook/package.json
@@ -1,6 +1,6 @@
{
"name": "docusaurus-2-facebook-template",
- "version": "2.4.0",
+ "version": "2.4.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -18,8 +18,8 @@
"format:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,md,mdx}\""
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/preset-classic": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/preset-classic": "2.4.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"react": "^17.0.2",
diff --git a/packages/docusaurus-cssnano-preset/package.json b/packages/docusaurus-cssnano-preset/package.json
index f88e255d46db..7a981a0a0dc7 100644
--- a/packages/docusaurus-cssnano-preset/package.json
+++ b/packages/docusaurus-cssnano-preset/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/cssnano-preset",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Advanced cssnano preset for maximum optimization.",
"main": "lib/index.js",
"license": "MIT",
diff --git a/packages/docusaurus-logger/package.json b/packages/docusaurus-logger/package.json
index 1d1cfe23edde..9a79d160b3ab 100644
--- a/packages/docusaurus-logger/package.json
+++ b/packages/docusaurus-logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/logger",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "An encapsulated logger for semantically formatting console messages.",
"main": "./lib/index.js",
"repository": {
diff --git a/packages/docusaurus-mdx-loader/package.json b/packages/docusaurus-mdx-loader/package.json
index 1bf60aa401b8..860c3a8d5918 100644
--- a/packages/docusaurus-mdx-loader/package.json
+++ b/packages/docusaurus-mdx-loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/mdx-loader",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus Loader for MDX",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -20,8 +20,8 @@
"dependencies": {
"@babel/parser": "^7.18.8",
"@babel/traverse": "^7.18.8",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/utils": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
"@mdx-js/mdx": "^1.6.22",
"escape-html": "^1.0.3",
"file-loader": "^6.2.0",
@@ -37,7 +37,7 @@
"webpack": "^5.73.0"
},
"devDependencies": {
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/types": "2.4.1",
"@types/escape-html": "^1.0.2",
"@types/mdast": "^3.0.10",
"@types/stringify-object": "^3.3.1",
diff --git a/packages/docusaurus-migrate/package.json b/packages/docusaurus-migrate/package.json
index b76a328cefc9..a42d0b22bc56 100644
--- a/packages/docusaurus-migrate/package.json
+++ b/packages/docusaurus-migrate/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/migrate",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "A CLI tool to migrate from older versions of Docusaurus.",
"license": "MIT",
"engines": {
@@ -24,8 +24,8 @@
"dependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/utils": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
"@mapbox/hast-util-to-jsx": "^2.0.0",
"color": "^4.2.3",
"commander": "^5.1.0",
diff --git a/packages/docusaurus-module-type-aliases/package.json b/packages/docusaurus-module-type-aliases/package.json
index 66c0bb2cad4e..d041a0772cdc 100644
--- a/packages/docusaurus-module-type-aliases/package.json
+++ b/packages/docusaurus-module-type-aliases/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/module-type-aliases",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus module type aliases.",
"types": "./src/index.d.ts",
"publishConfig": {
@@ -13,7 +13,7 @@
},
"dependencies": {
"@docusaurus/react-loadable": "5.5.2",
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/types": "2.4.1",
"@types/history": "^4.7.11",
"@types/react": "*",
"@types/react-router-config": "*",
diff --git a/packages/docusaurus-plugin-client-redirects/package.json b/packages/docusaurus-plugin-client-redirects/package.json
index 2375778c9043..4fd45dd7985a 100644
--- a/packages/docusaurus-plugin-client-redirects/package.json
+++ b/packages/docusaurus-plugin-client-redirects/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-client-redirects",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Client redirects plugin for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,18 +18,18 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"eta": "^2.0.0",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"tslib": "^2.4.0"
},
"devDependencies": {
- "@docusaurus/types": "2.4.0"
+ "@docusaurus/types": "2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
diff --git a/packages/docusaurus-plugin-content-blog/package.json b/packages/docusaurus-plugin-content-blog/package.json
index a3d95905da6b..8527669dc3da 100644
--- a/packages/docusaurus-plugin-content-blog/package.json
+++ b/packages/docusaurus-plugin-content-blog/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-blog",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Blog plugin for Docusaurus.",
"main": "lib/index.js",
"types": "src/plugin-content-blog.d.ts",
@@ -18,13 +18,13 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/mdx-loader": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/mdx-loader": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"cheerio": "^1.0.0-rc.12",
"feed": "^4.2.2",
"fs-extra": "^10.1.0",
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/2018/12/14/Happy-First-Birthday-Slash/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/2018/12/14/Happy-First-Birthday-Slash/index.html
index 1a3b803a8f26..49dfac178e50 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/2018/12/14/Happy-First-Birthday-Slash/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/2018/12/14/Happy-First-Birthday-Slash/index.html
@@ -11,7 +11,7 @@
+
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/date-matter/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/date-matter/index.html
index f56293ab02d2..8ebb7561b1d3 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/date-matter/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/date-matter/index.html
@@ -11,7 +11,7 @@
+
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/heading-as-title/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/heading-as-title/index.html
index 8e699a3d2d2b..ca572288528b 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/heading-as-title/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/heading-as-title/index.html
@@ -11,7 +11,7 @@
+
diff --git "a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/hey/my super path/h\303\251ll\303\264/index.html" "b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/hey/my super path/h\303\251ll\303\264/index.html"
index 99bfcb770a12..9218b56b4e59 100644
--- "a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/hey/my super path/h\303\251ll\303\264/index.html"
+++ "b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/hey/my super path/h\303\251ll\303\264/index.html"
@@ -11,7 +11,7 @@
+
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-blog-post/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-blog-post/index.html
index 0b8cd0bbf476..6aac38a41d74 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-blog-post/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-blog-post/index.html
@@ -11,7 +11,7 @@
-
HTML Heading 1 HTML Heading 2 HTML Paragraph
Import DOM
Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Normal Text Italics Text Bold Text
link
+HTML Heading 1 HTML Heading 2 HTML Paragraph
Import DOM
Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Normal Text Italics Text Bold Text
link
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-require-blog-post/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-require-blog-post/index.html
index 8d0ac938d88c..ad5e9da1c119 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-require-blog-post/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/mdx-require-blog-post/index.html
@@ -11,7 +11,7 @@
+
diff --git a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/simple/slug/index.html b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/simple/slug/index.html
index 1dd47a994364..7f0519e71c90 100644
--- a/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/simple/slug/index.html
+++ b/packages/docusaurus-plugin-content-blog/src/__tests__/__fixtures__/website/build-snap/blog/simple/slug/index.html
@@ -11,7 +11,7 @@
+
diff --git a/packages/docusaurus-plugin-content-docs/package.json b/packages/docusaurus-plugin-content-docs/package.json
index 2dbd09accd46..e1991d3f54c4 100644
--- a/packages/docusaurus-plugin-content-docs/package.json
+++ b/packages/docusaurus-plugin-content-docs/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-docs",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docs plugin for Docusaurus.",
"main": "lib/index.js",
"sideEffects": false,
@@ -35,13 +35,13 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/mdx-loader": "2.4.0",
- "@docusaurus/module-type-aliases": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/mdx-loader": "2.4.1",
+ "@docusaurus/module-type-aliases": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@types/react-router-config": "^5.0.6",
"combine-promises": "^1.1.0",
"fs-extra": "^10.1.0",
diff --git a/packages/docusaurus-plugin-content-pages/package.json b/packages/docusaurus-plugin-content-pages/package.json
index 34d2909dba2d..f62b15423253 100644
--- a/packages/docusaurus-plugin-content-pages/package.json
+++ b/packages/docusaurus-plugin-content-pages/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-content-pages",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Pages plugin for Docusaurus.",
"main": "lib/index.js",
"types": "src/plugin-content-pages.d.ts",
@@ -18,11 +18,11 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/mdx-loader": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/mdx-loader": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"fs-extra": "^10.1.0",
"tslib": "^2.4.0",
"webpack": "^5.73.0"
diff --git a/packages/docusaurus-plugin-debug/package.json b/packages/docusaurus-plugin-debug/package.json
index 8197cd187285..198f532806e5 100644
--- a/packages/docusaurus-plugin-debug/package.json
+++ b/packages/docusaurus-plugin-debug/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-debug",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Debug plugin for Docusaurus.",
"main": "lib/index.js",
"types": "src/plugin-debug.d.ts",
@@ -20,9 +20,9 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
"fs-extra": "^10.1.0",
"react-json-view": "^1.21.3",
"tslib": "^2.4.0"
diff --git a/packages/docusaurus-plugin-google-analytics/package.json b/packages/docusaurus-plugin-google-analytics/package.json
index f1e1f2569d40..ce4b3d3f9e02 100644
--- a/packages/docusaurus-plugin-google-analytics/package.json
+++ b/packages/docusaurus-plugin-google-analytics/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-google-analytics",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Global analytics (analytics.js) plugin for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,9 +18,9 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
diff --git a/packages/docusaurus-plugin-google-gtag/package.json b/packages/docusaurus-plugin-google-gtag/package.json
index e2e893839ddb..4485e3480e6f 100644
--- a/packages/docusaurus-plugin-google-gtag/package.json
+++ b/packages/docusaurus-plugin-google-gtag/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-google-gtag",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Global Site Tag (gtag.js) plugin for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,9 +18,9 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
diff --git a/packages/docusaurus-plugin-google-tag-manager/package.json b/packages/docusaurus-plugin-google-tag-manager/package.json
index 291287550a6d..194dfbfd9180 100644
--- a/packages/docusaurus-plugin-google-tag-manager/package.json
+++ b/packages/docusaurus-plugin-google-tag-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-google-tag-manager",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Google Tag Manager (gtm.js) plugin for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,9 +18,9 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
diff --git a/packages/docusaurus-plugin-ideal-image/package.json b/packages/docusaurus-plugin-ideal-image/package.json
index a1de1bf416f7..56df3fdea1a7 100644
--- a/packages/docusaurus-plugin-ideal-image/package.json
+++ b/packages/docusaurus-plugin-ideal-image/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-ideal-image",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder).",
"main": "lib/index.js",
"types": "src/plugin-ideal-image.d.ts",
@@ -20,12 +20,12 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/lqip-loader": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/lqip-loader": "2.4.1",
"@docusaurus/responsive-loader": "^1.7.0",
- "@docusaurus/theme-translations": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/theme-translations": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@endiliey/react-ideal-image": "^0.0.11",
"react-waypoint": "^10.3.0",
"sharp": "^0.30.7",
@@ -33,7 +33,7 @@
"webpack": "^5.73.0"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0",
+ "@docusaurus/module-type-aliases": "2.4.1",
"fs-extra": "^10.1.0"
},
"peerDependencies": {
diff --git a/packages/docusaurus-plugin-pwa/package.json b/packages/docusaurus-plugin-pwa/package.json
index 872a3286bbed..6c8358713d7f 100644
--- a/packages/docusaurus-plugin-pwa/package.json
+++ b/packages/docusaurus-plugin-pwa/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-pwa",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus Plugin to add PWA support.",
"main": "lib/index.js",
"types": "src/plugin-pwa.d.ts",
@@ -22,12 +22,12 @@
"dependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
- "@docusaurus/core": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-translations": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-translations": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"babel-loader": "^8.2.5",
"clsx": "^1.2.1",
"core-js": "^3.23.3",
@@ -40,7 +40,7 @@
"workbox-window": "^6.5.3"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0",
+ "@docusaurus/module-type-aliases": "2.4.1",
"fs-extra": "^10.1.0"
},
"peerDependencies": {
diff --git a/packages/docusaurus-plugin-sitemap/package.json b/packages/docusaurus-plugin-sitemap/package.json
index c5799145033c..da4bf4ce32f3 100644
--- a/packages/docusaurus-plugin-sitemap/package.json
+++ b/packages/docusaurus-plugin-sitemap/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/plugin-sitemap",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Simple sitemap generation plugin for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,12 +18,12 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"fs-extra": "^10.1.0",
"sitemap": "^7.1.1",
"tslib": "^2.4.0"
diff --git a/packages/docusaurus-preset-classic/package.json b/packages/docusaurus-preset-classic/package.json
index 5173dcdfd0fc..ffde35085a15 100644
--- a/packages/docusaurus-preset-classic/package.json
+++ b/packages/docusaurus-preset-classic/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/preset-classic",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Classic preset for Docusaurus.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -18,19 +18,19 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/plugin-content-blog": "2.4.0",
- "@docusaurus/plugin-content-docs": "2.4.0",
- "@docusaurus/plugin-content-pages": "2.4.0",
- "@docusaurus/plugin-debug": "2.4.0",
- "@docusaurus/plugin-google-analytics": "2.4.0",
- "@docusaurus/plugin-google-gtag": "2.4.0",
- "@docusaurus/plugin-google-tag-manager": "2.4.0",
- "@docusaurus/plugin-sitemap": "2.4.0",
- "@docusaurus/theme-classic": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-search-algolia": "2.4.0",
- "@docusaurus/types": "2.4.0"
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/plugin-content-blog": "2.4.1",
+ "@docusaurus/plugin-content-docs": "2.4.1",
+ "@docusaurus/plugin-content-pages": "2.4.1",
+ "@docusaurus/plugin-debug": "2.4.1",
+ "@docusaurus/plugin-google-analytics": "2.4.1",
+ "@docusaurus/plugin-google-gtag": "2.4.1",
+ "@docusaurus/plugin-google-tag-manager": "2.4.1",
+ "@docusaurus/plugin-sitemap": "2.4.1",
+ "@docusaurus/theme-classic": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-search-algolia": "2.4.1",
+ "@docusaurus/types": "2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
diff --git a/packages/docusaurus-remark-plugin-npm2yarn/package.json b/packages/docusaurus-remark-plugin-npm2yarn/package.json
index 95018e256793..f6647dd1b534 100644
--- a/packages/docusaurus-remark-plugin-npm2yarn/package.json
+++ b/packages/docusaurus-remark-plugin-npm2yarn/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/remark-plugin-npm2yarn",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Remark plugin for converting npm commands to Yarn commands as tabs.",
"main": "lib/index.js",
"publishConfig": {
diff --git a/packages/docusaurus-theme-classic/package.json b/packages/docusaurus-theme-classic/package.json
index a92e5d1d0e43..814ef3493dcf 100644
--- a/packages/docusaurus-theme-classic/package.json
+++ b/packages/docusaurus-theme-classic/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-classic",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Classic theme for Docusaurus",
"main": "lib/index.js",
"types": "src/theme-classic.d.ts",
@@ -20,18 +20,18 @@
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/mdx-loader": "2.4.0",
- "@docusaurus/module-type-aliases": "2.4.0",
- "@docusaurus/plugin-content-blog": "2.4.0",
- "@docusaurus/plugin-content-docs": "2.4.0",
- "@docusaurus/plugin-content-pages": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-translations": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/mdx-loader": "2.4.1",
+ "@docusaurus/module-type-aliases": "2.4.1",
+ "@docusaurus/plugin-content-blog": "2.4.1",
+ "@docusaurus/plugin-content-docs": "2.4.1",
+ "@docusaurus/plugin-content-pages": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-translations": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"copy-text-to-clipboard": "^3.0.1",
diff --git a/packages/docusaurus-theme-classic/src/theme-classic.d.ts b/packages/docusaurus-theme-classic/src/theme-classic.d.ts
index 8a6cf84de944..c8d2d3411e4b 100644
--- a/packages/docusaurus-theme-classic/src/theme-classic.d.ts
+++ b/packages/docusaurus-theme-classic/src/theme-classic.d.ts
@@ -1322,6 +1322,14 @@ declare module '@theme/Icon/Close' {
export default function IconClose(props: Props): JSX.Element;
}
+declare module '@theme/Icon/Copy' {
+ import type {ComponentProps} from 'react';
+
+ export interface Props extends ComponentProps<'svg'> {}
+
+ export default function IconCopy(props: Props): JSX.Element;
+}
+
declare module '@theme/Icon/Language' {
import type {ComponentProps} from 'react';
@@ -1330,6 +1338,14 @@ declare module '@theme/Icon/Language' {
export default function IconLanguage(props: Props): JSX.Element;
}
+declare module '@theme/Icon/Success' {
+ import type {ComponentProps} from 'react';
+
+ export interface Props extends ComponentProps<'svg'> {}
+
+ export default function IconSuccess(props: Props): JSX.Element;
+}
+
declare module '@theme/Icon/ExternalLink' {
import type {ComponentProps} from 'react';
@@ -1338,6 +1354,14 @@ declare module '@theme/Icon/ExternalLink' {
export default function IconExternalLink(props: Props): JSX.Element;
}
+declare module '@theme/Icon/WordWrap' {
+ import type {ComponentProps} from 'react';
+
+ export interface Props extends ComponentProps<'svg'> {}
+
+ export default function IconWordWrap(props: Props): JSX.Element;
+}
+
declare module '@theme/TagsListByLetter' {
import type {TagsListItem} from '@docusaurus/utils';
diff --git a/packages/docusaurus-theme-classic/src/theme/CodeBlock/CopyButton/index.tsx b/packages/docusaurus-theme-classic/src/theme/CodeBlock/CopyButton/index.tsx
index 1c05e07a7430..9f5872e6c52f 100644
--- a/packages/docusaurus-theme-classic/src/theme/CodeBlock/CopyButton/index.tsx
+++ b/packages/docusaurus-theme-classic/src/theme/CodeBlock/CopyButton/index.tsx
@@ -11,6 +11,8 @@ import clsx from 'clsx';
import copy from 'copy-text-to-clipboard';
import {translate} from '@docusaurus/Translate';
import type {Props} from '@theme/CodeBlock/CopyButton';
+import IconCopy from '@theme/Icon/Copy';
+import IconSuccess from '@theme/Icon/Success';
import styles from './styles.module.css';
@@ -56,12 +58,8 @@ export default function CopyButton({code, className}: Props): JSX.Element {
)}
onClick={handleCopyCode}>
-
-
-
-
-
-
+
+
);
diff --git a/packages/docusaurus-theme-classic/src/theme/CodeBlock/WordWrapButton/index.tsx b/packages/docusaurus-theme-classic/src/theme/CodeBlock/WordWrapButton/index.tsx
index 9b08e4432538..0adb3d8d4b01 100644
--- a/packages/docusaurus-theme-classic/src/theme/CodeBlock/WordWrapButton/index.tsx
+++ b/packages/docusaurus-theme-classic/src/theme/CodeBlock/WordWrapButton/index.tsx
@@ -9,6 +9,7 @@ import React from 'react';
import clsx from 'clsx';
import {translate} from '@docusaurus/Translate';
import type {Props} from '@theme/CodeBlock/WordWrapButton';
+import IconWordWrap from '@theme/Icon/WordWrap';
import styles from './styles.module.css';
@@ -35,15 +36,7 @@ export default function WordWrapButton({
)}
aria-label={title}
title={title}>
-
-
-
+
);
}
diff --git a/packages/docusaurus-theme-classic/src/theme/DocPage/Layout/Sidebar/index.tsx b/packages/docusaurus-theme-classic/src/theme/DocPage/Layout/Sidebar/index.tsx
index 551ac7c3f39d..dd8fcb1a81d6 100644
--- a/packages/docusaurus-theme-classic/src/theme/DocPage/Layout/Sidebar/index.tsx
+++ b/packages/docusaurus-theme-classic/src/theme/DocPage/Layout/Sidebar/index.tsx
@@ -7,7 +7,7 @@
import React, {type ReactNode, useState, useCallback} from 'react';
import clsx from 'clsx';
-import {ThemeClassNames} from '@docusaurus/theme-common';
+import {prefersReducedMotion, ThemeClassNames} from '@docusaurus/theme-common';
import {useDocsSidebar} from '@docusaurus/theme-common/internal';
import {useLocation} from '@docusaurus/router';
import DocSidebar from '@theme/DocSidebar';
@@ -40,6 +40,11 @@ export default function DocPageLayoutSidebar({
if (hiddenSidebar) {
setHiddenSidebar(false);
}
+ // onTransitionEnd won't fire when sidebar animation is disabled
+ // fixes https://github.com/facebook/docusaurus/issues/8918
+ if (!hiddenSidebar && prefersReducedMotion()) {
+ setHiddenSidebar(true);
+ }
setHiddenSidebarContainer((value) => !value);
}, [setHiddenSidebarContainer, hiddenSidebar]);
diff --git a/packages/docusaurus-theme-classic/src/theme/DocPaginator/index.tsx b/packages/docusaurus-theme-classic/src/theme/DocPaginator/index.tsx
index 1d8823caf079..84928d8f2abd 100644
--- a/packages/docusaurus-theme-classic/src/theme/DocPaginator/index.tsx
+++ b/packages/docusaurus-theme-classic/src/theme/DocPaginator/index.tsx
@@ -17,7 +17,7 @@ export default function DocPaginator(props: Props): JSX.Element {
className="pagination-nav docusaurus-mt-lg"
aria-label={translate({
id: 'theme.docs.paginator.navAriaLabel',
- message: 'Docs pages navigation',
+ message: 'Docs pages',
description: 'The ARIA label for the docs pagination',
})}>
{previous && (
diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/Copy/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/Copy/index.tsx
new file mode 100644
index 000000000000..9636ea9a149d
--- /dev/null
+++ b/packages/docusaurus-theme-classic/src/theme/Icon/Copy/index.tsx
@@ -0,0 +1,20 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+import React from 'react';
+import type {Props} from '@theme/Icon/Copy';
+
+export default function IconCopy(props: Props): JSX.Element {
+ return (
+
+
+
+ );
+}
diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/Success/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/Success/index.tsx
new file mode 100644
index 000000000000..a7887233befd
--- /dev/null
+++ b/packages/docusaurus-theme-classic/src/theme/Icon/Success/index.tsx
@@ -0,0 +1,20 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+import React from 'react';
+import type {Props} from '@theme/Icon/Success';
+
+export default function IconSuccess(props: Props): JSX.Element {
+ return (
+
+
+
+ );
+}
diff --git a/packages/docusaurus-theme-classic/src/theme/Icon/WordWrap/index.tsx b/packages/docusaurus-theme-classic/src/theme/Icon/WordWrap/index.tsx
new file mode 100644
index 000000000000..17986900c2be
--- /dev/null
+++ b/packages/docusaurus-theme-classic/src/theme/Icon/WordWrap/index.tsx
@@ -0,0 +1,20 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+import React from 'react';
+import type {Props} from '@theme/Icon/WordWrap';
+
+export default function IconWordWrap(props: Props): JSX.Element {
+ return (
+
+
+
+ );
+}
diff --git a/packages/docusaurus-theme-common/package.json b/packages/docusaurus-theme-common/package.json
index 878fb790636b..a471c3599bf9 100644
--- a/packages/docusaurus-theme-common/package.json
+++ b/packages/docusaurus-theme-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-common",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Common code for Docusaurus themes.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
@@ -30,13 +30,13 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/mdx-loader": "2.4.0",
- "@docusaurus/module-type-aliases": "2.4.0",
- "@docusaurus/plugin-content-blog": "2.4.0",
- "@docusaurus/plugin-content-docs": "2.4.0",
- "@docusaurus/plugin-content-pages": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
+ "@docusaurus/mdx-loader": "2.4.1",
+ "@docusaurus/module-type-aliases": "2.4.1",
+ "@docusaurus/plugin-content-blog": "2.4.1",
+ "@docusaurus/plugin-content-docs": "2.4.1",
+ "@docusaurus/plugin-content-pages": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
"@types/history": "^4.7.11",
"@types/react": "*",
"@types/react-router-config": "*",
@@ -48,8 +48,8 @@
"utility-types": "^3.10.0"
},
"devDependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/types": "2.4.1",
"fs-extra": "^10.1.0",
"lodash": "^4.17.21"
},
diff --git a/packages/docusaurus-theme-common/src/components/Collapsible/index.tsx b/packages/docusaurus-theme-common/src/components/Collapsible/index.tsx
index ca0da9d02a9a..4d5ee798c1e6 100644
--- a/packages/docusaurus-theme-common/src/components/Collapsible/index.tsx
+++ b/packages/docusaurus-theme-common/src/components/Collapsible/index.tsx
@@ -17,6 +17,7 @@ import React, {
type ReactNode,
} from 'react';
import ExecutionEnvironment from '@docusaurus/ExecutionEnvironment';
+import {prefersReducedMotion} from '../../utils/accessibilityUtils';
const DefaultAnimationEasing = 'ease-in-out';
@@ -65,10 +66,6 @@ function applyCollapsedStyle(el: HTMLElement, collapsed: boolean) {
el.style.height = collapsedStyles.height;
}
-function userPrefersReducedMotion(): boolean {
- return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
-}
-
/*
Lex111: Dynamic transition duration is used in Material design, this technique
is good for a large number of items.
@@ -76,8 +73,10 @@ https://material.io/archive/guidelines/motion/duration-easing.html#duration-easi
https://github.com/mui-org/material-ui/blob/e724d98eba018e55e1a684236a2037e24bcf050c/packages/material-ui/src/styles/createTransitions.js#L40-L43
*/
function getAutoHeightDuration(height: number) {
- if (userPrefersReducedMotion()) {
- return 0;
+ if (prefersReducedMotion()) {
+ // Not using 0 because it prevents onTransitionEnd to fire and bubble up :/
+ // See https://github.com/facebook/docusaurus/pull/8906
+ return 1;
}
const constant = height / 36;
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
diff --git a/packages/docusaurus-theme-common/src/index.ts b/packages/docusaurus-theme-common/src/index.ts
index 63ea4ee444e5..08cc179dcfe8 100644
--- a/packages/docusaurus-theme-common/src/index.ts
+++ b/packages/docusaurus-theme-common/src/index.ts
@@ -43,6 +43,8 @@ export {useCollapsible, Collapsible} from './components/Collapsible';
export {ThemeClassNames} from './utils/ThemeClassNames';
+export {prefersReducedMotion} from './utils/accessibilityUtils';
+
export {
useIsomorphicLayoutEffect,
useEvent,
diff --git a/packages/docusaurus-theme-common/src/utils/accessibilityUtils.ts b/packages/docusaurus-theme-common/src/utils/accessibilityUtils.ts
new file mode 100644
index 000000000000..f1cc1f54842b
--- /dev/null
+++ b/packages/docusaurus-theme-common/src/utils/accessibilityUtils.ts
@@ -0,0 +1,10 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+export function prefersReducedMotion(): boolean {
+ return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
+}
diff --git a/packages/docusaurus-theme-common/src/utils/docsUtils.tsx b/packages/docusaurus-theme-common/src/utils/docsUtils.tsx
index 1d03b8dc814c..bfcb3aef055d 100644
--- a/packages/docusaurus-theme-common/src/utils/docsUtils.tsx
+++ b/packages/docusaurus-theme-common/src/utils/docsUtils.tsx
@@ -272,7 +272,7 @@ export function useLayoutDocsSidebar(
versions.length > 1 ? 's' : ''
} ${versions.map((version) => version.name).join(', ')}".
Available sidebar ids are:
-- ${Object.keys(allSidebars).join('\n- ')}`,
+- ${allSidebars.map((entry) => entry[0]).join('\n- ')}`,
);
}
return sidebarEntry[1];
diff --git a/packages/docusaurus-theme-common/src/utils/skipToContentUtils.tsx b/packages/docusaurus-theme-common/src/utils/skipToContentUtils.tsx
index fbdf862a8c89..da49f0f6b89a 100644
--- a/packages/docusaurus-theme-common/src/utils/skipToContentUtils.tsx
+++ b/packages/docusaurus-theme-common/src/utils/skipToContentUtils.tsx
@@ -14,8 +14,11 @@ import {useLocationChange} from './useLocationChange';
* The id of the element that should become focused on a page
* that does not have a html tag.
* Focusing the Docusaurus Layout children is a reasonable fallback.
+ *
+ * __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors
+ * https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368
*/
-export const SkipToContentFallbackId = 'docusaurus_skipToContent_fallback';
+export const SkipToContentFallbackId = '__docusaurus_skipToContent_fallback';
/**
* Returns the skip to content element to focus when the link is clicked.
diff --git a/packages/docusaurus-theme-live-codeblock/package.json b/packages/docusaurus-theme-live-codeblock/package.json
index d9aeed0879b4..26923b396ced 100644
--- a/packages/docusaurus-theme-live-codeblock/package.json
+++ b/packages/docusaurus-theme-live-codeblock/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-live-codeblock",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus live code block component.",
"main": "lib/index.js",
"types": "src/theme-live-codeblock.d.ts",
@@ -23,10 +23,10 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-translations": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-translations": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@philpl/buble": "^0.19.7",
"clsx": "^1.2.1",
"fs-extra": "^10.1.0",
@@ -34,7 +34,7 @@
"tslib": "^2.4.0"
},
"devDependencies": {
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/types": "2.4.1",
"@types/buble": "^0.20.1"
},
"peerDependencies": {
diff --git a/packages/docusaurus-theme-mermaid/package.json b/packages/docusaurus-theme-mermaid/package.json
index 87e803f0c05b..829f2f23702e 100644
--- a/packages/docusaurus-theme-mermaid/package.json
+++ b/packages/docusaurus-theme-mermaid/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-mermaid",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Mermaid components for Docusaurus.",
"main": "lib/index.js",
"types": "src/theme-mermaid.d.ts",
@@ -33,11 +33,11 @@
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
},
"dependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/module-type-aliases": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/types": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/module-type-aliases": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/types": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@mdx-js/react": "^1.6.22",
"mermaid": "^9.2.2",
"tslib": "^2.4.0"
diff --git a/packages/docusaurus-theme-search-algolia/package.json b/packages/docusaurus-theme-search-algolia/package.json
index 00309e029c6d..c3645eebfc00 100644
--- a/packages/docusaurus-theme-search-algolia/package.json
+++ b/packages/docusaurus-theme-search-algolia/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-search-algolia",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Algolia search component for Docusaurus.",
"main": "lib/index.js",
"sideEffects": [
@@ -34,13 +34,13 @@
},
"dependencies": {
"@docsearch/react": "^3.1.1",
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/plugin-content-docs": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-translations": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/plugin-content-docs": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-translations": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"algoliasearch": "^4.13.1",
"algoliasearch-helper": "^3.10.0",
"clsx": "^1.2.1",
@@ -51,7 +51,7 @@
"utility-types": "^3.10.0"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0"
+ "@docusaurus/module-type-aliases": "2.4.1"
},
"peerDependencies": {
"react": "^16.8.4 || ^17.0.0",
diff --git a/packages/docusaurus-theme-translations/locales/ar/theme-common.json b/packages/docusaurus-theme-translations/locales/ar/theme-common.json
index 6503db01e818..901f81db7f51 100644
--- a/packages/docusaurus-theme-translations/locales/ar/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/ar/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} مواد",
"theme.docs.breadcrumbs.home": "الرئيسية",
"theme.docs.breadcrumbs.navAriaLabel": "التنقل التفصيلي",
- "theme.docs.paginator.navAriaLabel": "التنقل بين صفحات الددات",
+ "theme.docs.paginator.navAriaLabel": "صفحة التوثيق",
"theme.docs.paginator.next": "التالي",
"theme.docs.paginator.previous": "السابق",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/base/theme-common.json b/packages/docusaurus-theme-translations/locales/base/theme-common.json
index f8e0943fbd3f..0ba6ac511a76 100644
--- a/packages/docusaurus-theme-translations/locales/base/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/base/theme-common.json
@@ -83,7 +83,7 @@
"theme.docs.breadcrumbs.home___DESCRIPTION": "The ARIA label for the home page in the breadcrumbs",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
"theme.docs.breadcrumbs.navAriaLabel___DESCRIPTION": "The ARIA label for the breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Docs pages navigation",
+ "theme.docs.paginator.navAriaLabel": "Docs pages",
"theme.docs.paginator.navAriaLabel___DESCRIPTION": "The ARIA label for the docs pagination",
"theme.docs.paginator.next": "Next",
"theme.docs.paginator.next___DESCRIPTION": "The label used to navigate to the next doc",
diff --git a/packages/docusaurus-theme-translations/locales/bn/theme-common.json b/packages/docusaurus-theme-translations/locales/bn/theme-common.json
index 5592dec6b307..be2f43753293 100644
--- a/packages/docusaurus-theme-translations/locales/bn/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/bn/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "ডক্স পৃষ্টাগুলির নেভিগেশন",
+ "theme.docs.paginator.navAriaLabel": "ডক্স পেজ",
"theme.docs.paginator.next": "পরবর্তী",
"theme.docs.paginator.previous": "পূর্ববর্তী",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/cs/theme-common.json b/packages/docusaurus-theme-translations/locales/cs/theme-common.json
index 49b04df3d540..c3793868fe20 100644
--- a/packages/docusaurus-theme-translations/locales/cs/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/cs/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Stránkování dokumentace",
+ "theme.docs.paginator.navAriaLabel": "Stránka dokumentace",
"theme.docs.paginator.next": "Další",
"theme.docs.paginator.previous": "Předchozí",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/da/theme-common.json b/packages/docusaurus-theme-translations/locales/da/theme-common.json
index a42dcc830194..71b041382e91 100644
--- a/packages/docusaurus-theme-translations/locales/da/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/da/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Dokumentside navigation",
+ "theme.docs.paginator.navAriaLabel": "Dokumentside",
"theme.docs.paginator.next": "Næste",
"theme.docs.paginator.previous": "Tidligere",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/de/theme-common.json b/packages/docusaurus-theme-translations/locales/de/theme-common.json
index 87645c6cdbf4..936e43c6d8e9 100644
--- a/packages/docusaurus-theme-translations/locales/de/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/de/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} Einträge",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Dokumentation Seiten Navigation",
+ "theme.docs.paginator.navAriaLabel": "Dokumentation Seiten",
"theme.docs.paginator.next": "Weiter",
"theme.docs.paginator.previous": "Zurück",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/es/theme-common.json b/packages/docusaurus-theme-translations/locales/es/theme-common.json
index 5dd0182e975c..99b50437d902 100644
--- a/packages/docusaurus-theme-translations/locales/es/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/es/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Navegación de páginas de documentos",
+ "theme.docs.paginator.navAriaLabel": "Página del documento",
"theme.docs.paginator.next": "Siguiente",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/fa/theme-common.json b/packages/docusaurus-theme-translations/locales/fa/theme-common.json
index 65852f81c2b9..d434e72ef653 100644
--- a/packages/docusaurus-theme-translations/locales/fa/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/fa/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} مورد",
"theme.docs.breadcrumbs.home": "صفحه اصلی",
"theme.docs.breadcrumbs.navAriaLabel": "نشانگر صفحات",
- "theme.docs.paginator.navAriaLabel": "کنترل صفحات مطالب",
+ "theme.docs.paginator.navAriaLabel": "Docs Pages",
"theme.docs.paginator.next": "بعدی",
"theme.docs.paginator.previous": "قبلی",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/fil/theme-common.json b/packages/docusaurus-theme-translations/locales/fil/theme-common.json
index 7af9ac9d4ae7..f7de7afb7174 100644
--- a/packages/docusaurus-theme-translations/locales/fil/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/fil/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Nabegasyón para sa mga pahinang docs.",
+ "theme.docs.paginator.navAriaLabel": "Docs Pages",
"theme.docs.paginator.next": "Sumunod",
"theme.docs.paginator.previous": "Naraaan",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/fr/theme-common.json b/packages/docusaurus-theme-translations/locales/fr/theme-common.json
index 58e152862048..d46f0b2fe887 100644
--- a/packages/docusaurus-theme-translations/locales/fr/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/fr/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} éléments",
"theme.docs.breadcrumbs.home": "Page d'accueil",
"theme.docs.breadcrumbs.navAriaLabel": "Fil d'Ariane",
- "theme.docs.paginator.navAriaLabel": "Pagination des documents",
+ "theme.docs.paginator.navAriaLabel": "Pages de documentation",
"theme.docs.paginator.next": "Suivant",
"theme.docs.paginator.previous": "Précédent",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Fermer la barre de navigation",
diff --git a/packages/docusaurus-theme-translations/locales/hi/theme-common.json b/packages/docusaurus-theme-translations/locales/hi/theme-common.json
index 8f1a68f7179b..16c35b7e5ee4 100644
--- a/packages/docusaurus-theme-translations/locales/hi/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/hi/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "डॉक्स पेज नेविगेशन",
+ "theme.docs.paginator.navAriaLabel": "डॉक्स पेज",
"theme.docs.paginator.next": "अगला",
"theme.docs.paginator.previous": "पिछ्ला",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/hu/theme-common.json b/packages/docusaurus-theme-translations/locales/hu/theme-common.json
index 9ffbf2b9ccc7..b66329b8a75e 100644
--- a/packages/docusaurus-theme-translations/locales/hu/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/hu/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} elemek",
"theme.docs.breadcrumbs.home": "Kezdőlap",
"theme.docs.breadcrumbs.navAriaLabel": "Navigációs sáv a jelenlegi oldalhoz",
- "theme.docs.paginator.navAriaLabel": "Dokumentációs oldal navigációja",
+ "theme.docs.paginator.navAriaLabel": "Dokumentációs oldal",
"theme.docs.paginator.next": "Következő oldal",
"theme.docs.paginator.previous": "Előző oldal",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Navigációs sáv bezárása",
diff --git a/packages/docusaurus-theme-translations/locales/it/theme-common.json b/packages/docusaurus-theme-translations/locales/it/theme-common.json
index cd1c9f9678b6..1715d241f19f 100644
--- a/packages/docusaurus-theme-translations/locales/it/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/it/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Navigazione delle pagine dei documenti",
+ "theme.docs.paginator.navAriaLabel": "Pagina del documento",
"theme.docs.paginator.next": "Successivo",
"theme.docs.paginator.previous": "Precedente",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/ja/theme-common.json b/packages/docusaurus-theme-translations/locales/ja/theme-common.json
index d1926fb4678c..24c3badade60 100644
--- a/packages/docusaurus-theme-translations/locales/ja/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/ja/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count}項目",
"theme.docs.breadcrumbs.home": "ホームページ",
"theme.docs.breadcrumbs.navAriaLabel": "パンくずリストのナビゲーション",
- "theme.docs.paginator.navAriaLabel": "ドキュメントのナビゲーション",
+ "theme.docs.paginator.navAriaLabel": "ドキュメントページ",
"theme.docs.paginator.next": "次へ",
"theme.docs.paginator.previous": "前へ",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/ko/theme-common.json b/packages/docusaurus-theme-translations/locales/ko/theme-common.json
index 3adbe4fe9c66..382305d9717b 100644
--- a/packages/docusaurus-theme-translations/locales/ko/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/ko/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 항목",
"theme.docs.breadcrumbs.home": "홈",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "문서 탐색",
+ "theme.docs.paginator.navAriaLabel": "문서 페이지",
"theme.docs.paginator.next": "다음",
"theme.docs.paginator.previous": "이전",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/nb/theme-common.json b/packages/docusaurus-theme-translations/locales/nb/theme-common.json
index 40496d5017b4..473a14a3fa27 100644
--- a/packages/docusaurus-theme-translations/locales/nb/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/nb/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artikler",
"theme.docs.breadcrumbs.home": "Hjemmeside",
"theme.docs.breadcrumbs.navAriaLabel": "Søkvei",
- "theme.docs.paginator.navAriaLabel": "Dokumenter-sidernavigasjon",
+ "theme.docs.paginator.navAriaLabel": "Dokumenter side",
"theme.docs.paginator.next": "Neste",
"theme.docs.paginator.previous": "Forrige",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Lukk navigasjonslinjen",
diff --git a/packages/docusaurus-theme-translations/locales/nl/theme-common.json b/packages/docusaurus-theme-translations/locales/nl/theme-common.json
index 048d9955c72d..24ae28411212 100644
--- a/packages/docusaurus-theme-translations/locales/nl/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/nl/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artikelen",
"theme.docs.breadcrumbs.home": "Homepagina",
"theme.docs.breadcrumbs.navAriaLabel": "Broodkruimels",
- "theme.docs.paginator.navAriaLabel": "Paginanavigatie documentatie",
+ "theme.docs.paginator.navAriaLabel": "Documentatie pagina",
"theme.docs.paginator.next": "Volgende",
"theme.docs.paginator.previous": "Vorige",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/pl/theme-common.json b/packages/docusaurus-theme-translations/locales/pl/theme-common.json
index 7cb0434b3ee2..1eac16ece18a 100644
--- a/packages/docusaurus-theme-translations/locales/pl/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/pl/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} elementów",
"theme.docs.breadcrumbs.home": "Strona główna",
"theme.docs.breadcrumbs.navAriaLabel": "Pasek nawigacji",
- "theme.docs.paginator.navAriaLabel": "Nawigacja na stronie dokumentacji",
+ "theme.docs.paginator.navAriaLabel": "Strona dokumentacji",
"theme.docs.paginator.next": "Następna strona",
"theme.docs.paginator.previous": "Poprzednia strona",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Zamknij panel nawigacji",
diff --git a/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json b/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json
index 0d54b9a52d9a..bb4f9c4288d2 100644
--- a/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/pt-BR/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
+ "theme.docs.paginator.navAriaLabel": "Páginas de documentação",
"theme.docs.paginator.next": "Próxima",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json b/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json
index 55be758b6b49..f60c88a8e402 100644
--- a/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/pt-PT/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Navigação das páginas de documentação",
+ "theme.docs.paginator.navAriaLabel": "Páginas de documento",
"theme.docs.paginator.next": "Próxima",
"theme.docs.paginator.previous": "Anterior",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/ru/theme-common.json b/packages/docusaurus-theme-translations/locales/ru/theme-common.json
index 622b8fb95577..c95e81a86739 100644
--- a/packages/docusaurus-theme-translations/locales/ru/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/ru/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} элемент|{count} элемента|{count} элементов",
"theme.docs.breadcrumbs.home": "Главная страница",
"theme.docs.breadcrumbs.navAriaLabel": "Навигационная цепочка текущей страницы",
- "theme.docs.paginator.navAriaLabel": "Навигация по странице документации",
+ "theme.docs.paginator.navAriaLabel": "Страница документа",
"theme.docs.paginator.next": "Следующая страница",
"theme.docs.paginator.previous": "Предыдущая страница",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Закрыть панель навигации",
diff --git a/packages/docusaurus-theme-translations/locales/sl/theme-common.json b/packages/docusaurus-theme-translations/locales/sl/theme-common.json
index d93bb2ce0ffc..aee64bc255c6 100644
--- a/packages/docusaurus-theme-translations/locales/sl/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/sl/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} vnosov",
"theme.docs.breadcrumbs.home": "Domača stran",
"theme.docs.breadcrumbs.navAriaLabel": "Drobtine",
- "theme.docs.paginator.navAriaLabel": "Navigacija po dokumentaciji",
+ "theme.docs.paginator.navAriaLabel": "Strani z dokumenti",
"theme.docs.paginator.next": "Naslednji",
"theme.docs.paginator.previous": "Prejšnji",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Zapri navigacijsko vrstico",
diff --git a/packages/docusaurus-theme-translations/locales/sr/theme-common.json b/packages/docusaurus-theme-translations/locales/sr/theme-common.json
index ea36550a9e63..190674d6365a 100644
--- a/packages/docusaurus-theme-translations/locales/sr/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/sr/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Home page",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Навигација по документима",
+ "theme.docs.paginator.navAriaLabel": "странице докумената",
"theme.docs.paginator.next": "Даље",
"theme.docs.paginator.previous": "Назад",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/sv/theme-common.json b/packages/docusaurus-theme-translations/locales/sv/theme-common.json
index 3d82c3bec207..7aebbaf31e8d 100644
--- a/packages/docusaurus-theme-translations/locales/sv/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/sv/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} artiklar",
"theme.docs.breadcrumbs.home": "Hemsida",
"theme.docs.breadcrumbs.navAriaLabel": "Sökväg",
- "theme.docs.paginator.navAriaLabel": "Navigation av dokument",
+ "theme.docs.paginator.navAriaLabel": "Dokumentsidor",
"theme.docs.paginator.next": "Nästa",
"theme.docs.paginator.previous": "Föregående",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/tr/theme-common.json b/packages/docusaurus-theme-translations/locales/tr/theme-common.json
index 1e97990faf64..482e4f429500 100644
--- a/packages/docusaurus-theme-translations/locales/tr/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/tr/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} items",
"theme.docs.breadcrumbs.home": "Ana sayfa",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası navigasyonu",
+ "theme.docs.paginator.navAriaLabel": "Dokümanlar sayfası",
"theme.docs.paginator.next": "Sonraki",
"theme.docs.paginator.previous": "Önceki",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Gezinme çubuğunu kapat",
diff --git a/packages/docusaurus-theme-translations/locales/tr/theme-search-algolia.json b/packages/docusaurus-theme-translations/locales/tr/theme-search-algolia.json
index ba00e4591913..04b00b96902b 100644
--- a/packages/docusaurus-theme-translations/locales/tr/theme-search-algolia.json
+++ b/packages/docusaurus-theme-translations/locales/tr/theme-search-algolia.json
@@ -9,7 +9,7 @@
"theme.SearchModal.footer.navigateText": "yönlendir",
"theme.SearchModal.footer.navigateUpKeyAriaLabel": "Yukarı ok",
"theme.SearchModal.footer.searchByText": "Şuna göre ara:",
- "theme.SearchModal.footer.selectKeyAriaLabel": "Enter key",
+ "theme.SearchModal.footer.selectKeyAriaLabel": "Enter tuşu",
"theme.SearchModal.footer.selectText": "Seç",
"theme.SearchModal.noResultsScreen.noResultsText": "için sonuç yok",
"theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": "Bilmemize izin ver.",
diff --git a/packages/docusaurus-theme-translations/locales/uk/theme-common.json b/packages/docusaurus-theme-translations/locales/uk/theme-common.json
index 2cde77e5aa5f..1596a29fb180 100644
--- a/packages/docusaurus-theme-translations/locales/uk/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/uk/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} елемент|{count} елементи|{count} елементів",
"theme.docs.breadcrumbs.home": "Головна сторінка",
"theme.docs.breadcrumbs.navAriaLabel": "Навігаційний ланцюжок поточної сторінки",
- "theme.docs.paginator.navAriaLabel": "Навігація по сторінці документації",
+ "theme.docs.paginator.navAriaLabel": "сторінка документації",
"theme.docs.paginator.next": "Наступна сторінка",
"theme.docs.paginator.previous": "Попередня сторінка",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/vi/theme-common.json b/packages/docusaurus-theme-translations/locales/vi/theme-common.json
index 727dcfc90649..bb152ba88197 100644
--- a/packages/docusaurus-theme-translations/locales/vi/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/vi/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} mục",
"theme.docs.breadcrumbs.home": "Trang chủ",
"theme.docs.breadcrumbs.navAriaLabel": "Breadcrumbs",
- "theme.docs.paginator.navAriaLabel": "Thanh điều hướng của trang tài liệu",
+ "theme.docs.paginator.navAriaLabel": "Trang tài liệu",
"theme.docs.paginator.next": "Kế tiếp",
"theme.docs.paginator.previous": "Trước",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json b/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json
index 30bff75c751b..a878963f209c 100644
--- a/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 个项目",
"theme.docs.breadcrumbs.home": "主页面",
"theme.docs.breadcrumbs.navAriaLabel": "页面路径",
- "theme.docs.paginator.navAriaLabel": "文档分页导航",
+ "theme.docs.paginator.navAriaLabel": "文件选项卡",
"theme.docs.paginator.next": "下一页",
"theme.docs.paginator.previous": "上一页",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "关闭导航栏",
diff --git a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json
index ee8ec70b611e..20cd2213e154 100644
--- a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json
+++ b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json
@@ -41,7 +41,7 @@
"theme.docs.DocCard.categoryDescription": "{count} 個項目",
"theme.docs.breadcrumbs.home": "主頁面",
"theme.docs.breadcrumbs.navAriaLabel": "頁面路徑",
- "theme.docs.paginator.navAriaLabel": "文件分頁導覽",
+ "theme.docs.paginator.navAriaLabel": "文件選項卡",
"theme.docs.paginator.next": "下一頁",
"theme.docs.paginator.previous": "上一頁",
"theme.docs.sidebar.closeSidebarButtonAriaLabel": "Close navigation bar",
diff --git a/packages/docusaurus-theme-translations/package.json b/packages/docusaurus-theme-translations/package.json
index 04d04806e96b..666fc98df3bd 100644
--- a/packages/docusaurus-theme-translations/package.json
+++ b/packages/docusaurus-theme-translations/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/theme-translations",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Docusaurus theme translations.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -23,8 +23,8 @@
"tslib": "^2.4.0"
},
"devDependencies": {
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
"lodash": "^4.17.21"
},
"engines": {
diff --git a/packages/docusaurus-types/package.json b/packages/docusaurus-types/package.json
index ea6ff7045397..a37f54b02189 100644
--- a/packages/docusaurus-types/package.json
+++ b/packages/docusaurus-types/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/types",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Common types for Docusaurus packages.",
"types": "./src/index.d.ts",
"publishConfig": {
diff --git a/packages/docusaurus-utils-common/package.json b/packages/docusaurus-utils-common/package.json
index 51b6e464ca50..418a4a79f48e 100644
--- a/packages/docusaurus-utils-common/package.json
+++ b/packages/docusaurus-utils-common/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/utils-common",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Common (Node/Browser) utility functions for Docusaurus packages.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
diff --git a/packages/docusaurus-utils-common/src/index.ts b/packages/docusaurus-utils-common/src/index.ts
index b1bbfb5237e1..17b69e0727f0 100644
--- a/packages/docusaurus-utils-common/src/index.ts
+++ b/packages/docusaurus-utils-common/src/index.ts
@@ -5,7 +5,10 @@
* LICENSE file in the root directory of this source tree.
*/
-export const blogPostContainerID = 'post-content';
+// __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors
+// https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368
+export const blogPostContainerID = '__blog-post-container';
+
export {
default as applyTrailingSlash,
type ApplyTrailingSlashParams,
diff --git a/packages/docusaurus-utils-validation/package.json b/packages/docusaurus-utils-validation/package.json
index 775898eaafe3..dc881de97e79 100644
--- a/packages/docusaurus-utils-validation/package.json
+++ b/packages/docusaurus-utils-validation/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/utils-validation",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Node validation utility functions for Docusaurus packages.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
@@ -18,8 +18,8 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/utils": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
"joi": "^17.6.0",
"js-yaml": "^4.1.0",
"tslib": "^2.4.0"
diff --git a/packages/docusaurus-utils/package.json b/packages/docusaurus-utils/package.json
index b13aef63b07f..f1adf82b9300 100644
--- a/packages/docusaurus-utils/package.json
+++ b/packages/docusaurus-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/utils",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Node utility functions for Docusaurus packages.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
@@ -18,7 +18,7 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/logger": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
"@svgr/webpack": "^6.2.1",
"escape-string-regexp": "^4.0.0",
"file-loader": "^6.2.0",
@@ -39,7 +39,7 @@
"node": ">=16.14"
},
"devDependencies": {
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/types": "2.4.1",
"@types/dedent": "^0.7.0",
"@types/github-slugger": "^1.3.0",
"@types/micromatch": "^4.0.2",
diff --git a/packages/docusaurus-utils/src/__tests__/__snapshots__/markdownLinks.test.ts.snap b/packages/docusaurus-utils/src/__tests__/__snapshots__/markdownLinks.test.ts.snap
index f42727544ff0..64e789033834 100644
--- a/packages/docusaurus-utils/src/__tests__/__snapshots__/markdownLinks.test.ts.snap
+++ b/packages/docusaurus-utils/src/__tests__/__snapshots__/markdownLinks.test.ts.snap
@@ -98,6 +98,20 @@ exports[`replaceMarkdownLinks ignores links in inline code 1`] = `
}
`;
+exports[`replaceMarkdownLinks replaces Markdown links with spaces 1`] = `
+{
+ "brokenMarkdownLinks": [],
+ "newContent": "
+[doc a](/docs/doc%20a)
+[doc a]()
+[doc a](/docs/doc%20a)
+[doc b](/docs/my%20docs/doc%20b)
+[doc b]()
+[doc b](/docs/my%20docs/doc%20b)
+",
+}
+`;
+
exports[`replaceMarkdownLinks replaces links with same title as URL 1`] = `
{
"brokenMarkdownLinks": [],
diff --git a/packages/docusaurus-utils/src/__tests__/markdownLinks.test.ts b/packages/docusaurus-utils/src/__tests__/markdownLinks.test.ts
index 46df9f1e6629..b7c1cb4a5b28 100644
--- a/packages/docusaurus-utils/src/__tests__/markdownLinks.test.ts
+++ b/packages/docusaurus-utils/src/__tests__/markdownLinks.test.ts
@@ -244,6 +244,31 @@ The following operations are defined for [URI]s:
},
fileString: `
[a](a.md), [a](a.md), [b](b.md), [c](c.md)
+`,
+ }),
+ ).toMatchSnapshot();
+ });
+
+ it('replaces Markdown links with spaces', () => {
+ expect(
+ replaceMarkdownLinks({
+ siteDir: '.',
+ filePath: 'docs/intro.md',
+ contentPaths: {
+ contentPath: 'docs',
+ contentPathLocalized: 'i18n/docs-localized',
+ },
+ sourceToPermalink: {
+ '@site/docs/doc a.md': '/docs/doc%20a',
+ '@site/docs/my docs/doc b.md': '/docs/my%20docs/doc%20b',
+ },
+ fileString: `
+[doc a](./doc%20a.md)
+[doc a](<./doc a.md>)
+[doc a](./doc a.md)
+[doc b](./my%20docs/doc%20b.md)
+[doc b](<./my docs/doc b.md>)
+[doc b](./my docs/doc b.md)
`,
}),
).toMatchSnapshot();
diff --git a/packages/docusaurus-utils/src/markdownLinks.ts b/packages/docusaurus-utils/src/markdownLinks.ts
index af322fe840d2..d12f9a9522da 100644
--- a/packages/docusaurus-utils/src/markdownLinks.ts
+++ b/packages/docusaurus-utils/src/markdownLinks.ts
@@ -105,7 +105,7 @@ export function replaceMarkdownLinks({
// This is [Document 1](doc1.md)
// [doc1]: doc1.md
const mdRegex =
- /(?:\]\(|\]:\s*)(?!https?:\/\/|@site\/)(?[^'")\]\s>]+\.mdx?)/g;
+ /(?:\]\(|\]:\s*)(?!https?:\/\/|@site\/)(?[^'"\]\s>]+(?:\s[^'"\]\s>]+)*\.mdx?)>?/g;
let mdMatch = mdRegex.exec(modifiedLine);
while (mdMatch !== null) {
// Replace it to correct html link.
diff --git a/packages/docusaurus/bin/beforeCli.mjs b/packages/docusaurus/bin/beforeCli.mjs
index 238939f2a0b8..da868f2330eb 100644
--- a/packages/docusaurus/bin/beforeCli.mjs
+++ b/packages/docusaurus/bin/beforeCli.mjs
@@ -104,10 +104,20 @@ export default async function beforeCli() {
.filter((p) => p.startsWith('@docusaurus'))
.map((p) => p.concat('@latest'))
.join(' ');
- const isYarnUsed = await fs.pathExists(path.resolve('yarn.lock'));
- const upgradeCommand = isYarnUsed
- ? `yarn upgrade ${siteDocusaurusPackagesForUpdate}`
- : `npm i ${siteDocusaurusPackagesForUpdate}`;
+
+ const getUpgradeCommand = async () => {
+ const isYarnUsed = await fs.pathExists(path.resolve('yarn.lock'));
+ if (!isYarnUsed) {
+ return `npm i ${siteDocusaurusPackagesForUpdate}`;
+ }
+
+ const isYarnClassicUsed = !(await fs.pathExists(
+ path.resolve('.yarnrc.yml'),
+ ));
+ return isYarnClassicUsed
+ ? `yarn upgrade ${siteDocusaurusPackagesForUpdate}`
+ : `yarn up ${siteDocusaurusPackagesForUpdate}`;
+ };
/** @type {import('boxen').Options} */
const boxenOptions = {
@@ -124,7 +134,7 @@ export default async function beforeCli() {
)} → ${logger.green(`${notifier.update.latest}`)}
To upgrade Docusaurus packages with the latest version, run the following command:
- ${logger.code(upgradeCommand)}`,
+ ${logger.code(await getUpgradeCommand())}`,
boxenOptions,
);
diff --git a/packages/docusaurus/package.json b/packages/docusaurus/package.json
index c5e242d9c46c..6525e7cf06d4 100644
--- a/packages/docusaurus/package.json
+++ b/packages/docusaurus/package.json
@@ -1,7 +1,7 @@
{
"name": "@docusaurus/core",
"description": "Easy to Maintain Open Source Documentation Websites",
- "version": "2.4.0",
+ "version": "2.4.1",
"license": "MIT",
"publishConfig": {
"access": "public"
@@ -43,13 +43,13 @@
"@babel/runtime": "^7.18.6",
"@babel/runtime-corejs3": "^7.18.6",
"@babel/traverse": "^7.18.8",
- "@docusaurus/cssnano-preset": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/mdx-loader": "2.4.0",
+ "@docusaurus/cssnano-preset": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/mdx-loader": "2.4.1",
"@docusaurus/react-loadable": "5.5.2",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
- "@docusaurus/utils-validation": "2.4.0",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
+ "@docusaurus/utils-validation": "2.4.1",
"@slorber/static-site-generator-webpack-plugin": "^4.0.7",
"@svgr/webpack": "^6.2.1",
"autoprefixer": "^10.4.7",
@@ -106,8 +106,8 @@
"webpackbar": "^5.0.2"
},
"devDependencies": {
- "@docusaurus/module-type-aliases": "2.4.0",
- "@docusaurus/types": "2.4.0",
+ "@docusaurus/module-type-aliases": "2.4.1",
+ "@docusaurus/types": "2.4.1",
"@types/detect-port": "^1.3.2",
"@types/react-dom": "^18.0.6",
"@types/react-router-config": "^5.0.6",
diff --git a/packages/docusaurus/src/client/BaseUrlIssueBanner/index.tsx b/packages/docusaurus/src/client/BaseUrlIssueBanner/index.tsx
index 8bc3dd925830..ffbfdae2b7a2 100644
--- a/packages/docusaurus/src/client/BaseUrlIssueBanner/index.tsx
+++ b/packages/docusaurus/src/client/BaseUrlIssueBanner/index.tsx
@@ -14,12 +14,12 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
// Double-security: critical CSS will hide the banner if CSS can load!
import './styles.module.css';
-const BannerContainerId = 'docusaurus-base-url-issue-banner-container';
-
-const BannerId = 'docusaurus-base-url-issue-banner';
-
+// __ prefix allows search crawlers (Algolia/DocSearch) to ignore anchors
+// https://github.com/facebook/docusaurus/issues/8883#issuecomment-1516328368
+const BannerContainerId = '__docusaurus-base-url-issue-banner-container';
+const BannerId = '__docusaurus-base-url-issue-banner';
const SuggestionContainerId =
- 'docusaurus-base-url-issue-banner-suggestion-container';
+ '__docusaurus-base-url-issue-banner-suggestion-container';
const InsertBannerWindowAttribute = '__DOCUSAURUS_INSERT_BASEURL_BANNER';
diff --git a/packages/docusaurus/src/client/BaseUrlIssueBanner/styles.module.css b/packages/docusaurus/src/client/BaseUrlIssueBanner/styles.module.css
index a046944686c8..ea9918c2b436 100644
--- a/packages/docusaurus/src/client/BaseUrlIssueBanner/styles.module.css
+++ b/packages/docusaurus/src/client/BaseUrlIssueBanner/styles.module.css
@@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/
-:global(#docusaurus-base-url-issue-banner-container) {
+:global(#__docusaurus-base-url-issue-banner-container) {
display: none;
}
diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json
index 5ef11d761cac..dc6ca1ae7b91 100644
--- a/packages/eslint-plugin/package.json
+++ b/packages/eslint-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/eslint-plugin",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "ESLint plugin to enforce best Docusaurus practices.",
"main": "lib/index.js",
"keywords": [
diff --git a/packages/lqip-loader/package.json b/packages/lqip-loader/package.json
index 0212f5c57c8a..c5cb84c01629 100644
--- a/packages/lqip-loader/package.json
+++ b/packages/lqip-loader/package.json
@@ -1,6 +1,6 @@
{
"name": "@docusaurus/lqip-loader",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Low Quality Image Placeholders (LQIP) loader for webpack.",
"main": "lib/index.js",
"publishConfig": {
@@ -17,7 +17,7 @@
},
"license": "MIT",
"dependencies": {
- "@docusaurus/logger": "2.4.0",
+ "@docusaurus/logger": "2.4.1",
"file-loader": "^6.2.0",
"lodash": "^4.17.21",
"sharp": "^0.30.7",
diff --git a/packages/stylelint-copyright/package.json b/packages/stylelint-copyright/package.json
index ceba53bd91bb..2c903bfcdcb7 100644
--- a/packages/stylelint-copyright/package.json
+++ b/packages/stylelint-copyright/package.json
@@ -1,6 +1,6 @@
{
"name": "stylelint-copyright",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "Stylelint plugin to check CSS files for a copyright header.",
"main": "lib/index.js",
"license": "MIT",
diff --git a/website/package.json b/website/package.json
index 7f8c1a2ebda2..9898b294aaa8 100644
--- a/website/package.json
+++ b/website/package.json
@@ -1,6 +1,6 @@
{
"name": "website",
- "version": "2.4.0",
+ "version": "2.4.1",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
@@ -36,19 +36,19 @@
"dependencies": {
"@crowdin/cli": "^3.7.9",
"@crowdin/crowdin-api-client": "^1.18.2",
- "@docusaurus/core": "2.4.0",
- "@docusaurus/logger": "2.4.0",
- "@docusaurus/plugin-client-redirects": "2.4.0",
- "@docusaurus/plugin-ideal-image": "2.4.0",
- "@docusaurus/plugin-pwa": "2.4.0",
- "@docusaurus/preset-classic": "2.4.0",
- "@docusaurus/remark-plugin-npm2yarn": "2.4.0",
- "@docusaurus/theme-classic": "2.4.0",
- "@docusaurus/theme-common": "2.4.0",
- "@docusaurus/theme-live-codeblock": "2.4.0",
- "@docusaurus/theme-mermaid": "2.4.0",
- "@docusaurus/utils": "2.4.0",
- "@docusaurus/utils-common": "2.4.0",
+ "@docusaurus/core": "2.4.1",
+ "@docusaurus/logger": "2.4.1",
+ "@docusaurus/plugin-client-redirects": "2.4.1",
+ "@docusaurus/plugin-ideal-image": "2.4.1",
+ "@docusaurus/plugin-pwa": "2.4.1",
+ "@docusaurus/preset-classic": "2.4.1",
+ "@docusaurus/remark-plugin-npm2yarn": "2.4.1",
+ "@docusaurus/theme-classic": "2.4.1",
+ "@docusaurus/theme-common": "2.4.1",
+ "@docusaurus/theme-live-codeblock": "2.4.1",
+ "@docusaurus/theme-mermaid": "2.4.1",
+ "@docusaurus/utils": "2.4.1",
+ "@docusaurus/utils-common": "2.4.1",
"@popperjs/core": "^2.11.5",
"@swc/core": "1.2.197",
"clsx": "^1.2.1",
@@ -82,7 +82,7 @@
]
},
"devDependencies": {
- "@docusaurus/eslint-plugin": "2.4.0",
+ "@docusaurus/eslint-plugin": "2.4.1",
"@tsconfig/docusaurus": "^1.0.5",
"@types/jest": "^28.1.4",
"cross-env": "^7.0.3",