diff --git a/admin/new.docusaurus.io/package.json b/admin/new.docusaurus.io/package.json index f786012420d7..c021a529a0b5 100644 --- a/admin/new.docusaurus.io/package.json +++ b/admin/new.docusaurus.io/package.json @@ -1,6 +1,6 @@ { "name": "new.docusaurus.io", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "private": true, "scripts": { "start": "npx --package netlify-cli netlify dev" diff --git a/argos/package.json b/argos/package.json index e856801112b3..433641d64b31 100644 --- a/argos/package.json +++ b/argos/package.json @@ -1,6 +1,6 @@ { "name": "argos", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Argos visual diff tests", "license": "MIT", "private": true, diff --git a/lerna.json b/lerna.json index e128b2977871..4cca80399c1d 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "npmClient": "yarn", "useWorkspaces": true, "useNx": false, diff --git a/packages/create-docusaurus/package.json b/packages/create-docusaurus/package.json index b5e106e54085..e3acb5e6ba83 100755 --- a/packages/create-docusaurus/package.json +++ b/packages/create-docusaurus/package.json @@ -1,6 +1,6 @@ { "name": "create-docusaurus", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Create Docusaurus apps easily.", "type": "module", "repository": { @@ -22,8 +22,8 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", "commander": "^5.1.0", "fs-extra": "^11.1.1", "lodash": "^4.17.21", diff --git a/packages/create-docusaurus/templates/classic-typescript/package.json b/packages/create-docusaurus/templates/classic-typescript/package.json index db11de07e28a..b07492eb7502 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -15,8 +15,8 @@ "typecheck": "tsc" }, "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/preset-classic": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/preset-classic": "3.0.0-rc.0", "@mdx-js/react": "^2.3.0", "clsx": "^1.2.1", "prism-react-renderer": "^2.1.0", @@ -24,9 +24,9 @@ "react-dom": "^18.0.0" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/tsconfig": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/tsconfig": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", "typescript": "~5.2.2" }, "browserslist": { diff --git a/packages/create-docusaurus/templates/classic/package.json b/packages/create-docusaurus/templates/classic/package.json index 2d85197e2c96..59e242ac111c 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -14,8 +14,8 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/preset-classic": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/preset-classic": "3.0.0-rc.0", "@mdx-js/react": "^2.3.0", "clsx": "^1.2.1", "prism-react-renderer": "^2.1.0", @@ -23,8 +23,8 @@ "react-dom": "^18.0.0" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0" + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0" }, "browserslist": { "production": [ diff --git a/packages/docusaurus-cssnano-preset/package.json b/packages/docusaurus-cssnano-preset/package.json index 5c84331db75b..4ed2f523793a 100644 --- a/packages/docusaurus-cssnano-preset/package.json +++ b/packages/docusaurus-cssnano-preset/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/cssnano-preset", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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 89070c3bf148..54d4b2474888 100644 --- a/packages/docusaurus-logger/package.json +++ b/packages/docusaurus-logger/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/logger", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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 3d77b5f63546..8049fb33bdd4 100644 --- a/packages/docusaurus-mdx-loader/package.json +++ b/packages/docusaurus-mdx-loader/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/mdx-loader", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Docusaurus Loader for MDX", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -20,9 +20,9 @@ "dependencies": { "@babel/parser": "^7.22.7", "@babel/traverse": "^7.22.8", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@mdx-js/mdx": "^2.1.5", "@slorber/remark-comment": "^1.0.0", "escape-html": "^1.0.3", @@ -35,8 +35,8 @@ "mdast-util-to-string": "^3.2.0", "rehype-raw": "^6.1.1", "remark-directive": "^2.0.1", - "remark-frontmatter": "^5.0.0", "remark-emoji": "^2.2.0", + "remark-frontmatter": "^5.0.0", "remark-gfm": "^3.0.1", "stringify-object": "^3.3.0", "tslib": "^2.6.0", @@ -47,7 +47,7 @@ "webpack": "^5.88.1" }, "devDependencies": { - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/types": "3.0.0-rc.0", "@types/escape-html": "^1.0.2", "@types/mdast": "^3.0.12", "@types/stringify-object": "^3.3.1", diff --git a/packages/docusaurus-module-type-aliases/package.json b/packages/docusaurus-module-type-aliases/package.json index 2c5fd39182d8..d7453625ee11 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Docusaurus module type aliases.", "types": "./src/index.d.ts", "publishConfig": { @@ -13,7 +13,7 @@ }, "dependencies": { "@docusaurus/react-loadable": "5.5.2", - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/types": "3.0.0-rc.0", "@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 a9d302975550..368813e2b67e 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Client redirects plugin for Docusaurus.", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -18,18 +18,18 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "eta": "^2.2.0", "fs-extra": "^11.1.1", "lodash": "^4.17.21", "tslib": "^2.6.0" }, "devDependencies": { - "@docusaurus/types": "3.0.0-beta.0" + "@docusaurus/types": "3.0.0-rc.0" }, "peerDependencies": { "react": "^18.0.0", diff --git a/packages/docusaurus-plugin-content-blog/package.json b/packages/docusaurus-plugin-content-blog/package.json index c300d1dde071..94944e101b1b 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Blog plugin for Docusaurus.", "main": "lib/index.js", "types": "src/plugin-content-blog.d.ts", @@ -19,13 +19,13 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/mdx-loader": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "cheerio": "^1.0.0-rc.12", "feed": "^4.2.2", "fs-extra": "^11.1.1", diff --git a/packages/docusaurus-plugin-content-docs/package.json b/packages/docusaurus-plugin-content-docs/package.json index 623e90419939..5f744a8f05b7 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Docs plugin for Docusaurus.", "main": "lib/index.js", "sideEffects": false, @@ -35,13 +35,13 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/mdx-loader": "3.0.0-beta.0", - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@types/react-router-config": "^5.0.7", "combine-promises": "^1.1.0", "fs-extra": "^11.1.1", diff --git a/packages/docusaurus-plugin-content-pages/package.json b/packages/docusaurus-plugin-content-pages/package.json index b8783ea181f6..c321a31e0f66 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/mdx-loader": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "fs-extra": "^11.1.1", "tslib": "^2.6.0", "webpack": "^5.88.1" diff --git a/packages/docusaurus-plugin-debug/package.json b/packages/docusaurus-plugin-debug/package.json index 7f9d26d2246c..4d12b67e16c9 100644 --- a/packages/docusaurus-plugin-debug/package.json +++ b/packages/docusaurus-plugin-debug/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/plugin-debug", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Debug plugin for Docusaurus.", "main": "lib/index.js", "types": "src/plugin-debug.d.ts", @@ -20,9 +20,9 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", "@microlink/react-json-view": "^1.22.2", "fs-extra": "^11.1.1", "tslib": "^2.6.0" diff --git a/packages/docusaurus-plugin-google-analytics/package.json b/packages/docusaurus-plugin-google-analytics/package.json index ce3ddb861d56..3298dd94da36 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "tslib": "^2.6.0" }, "peerDependencies": { diff --git a/packages/docusaurus-plugin-google-gtag/package.json b/packages/docusaurus-plugin-google-gtag/package.json index 43cfbbf6527b..0ff1c44e97ab 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@types/gtag.js": "^0.0.12", "tslib": "^2.6.0" }, diff --git a/packages/docusaurus-plugin-google-tag-manager/package.json b/packages/docusaurus-plugin-google-tag-manager/package.json index e93c95c22b41..96721038e90d 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "tslib": "^2.6.0" }, "peerDependencies": { diff --git a/packages/docusaurus-plugin-ideal-image/package.json b/packages/docusaurus-plugin-ideal-image/package.json index d251f5301e28..82331bbd85f3 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/lqip-loader": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/lqip-loader": "3.0.0-rc.0", "@docusaurus/responsive-loader": "^1.7.0", - "@docusaurus/theme-translations": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/theme-translations": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@slorber/react-ideal-image": "^0.0.12", "react-waypoint": "^10.3.0", "sharp": "^0.32.3", @@ -33,7 +33,7 @@ "webpack": "^5.88.1" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", "fs-extra": "^11.1.0" }, "peerDependencies": { diff --git a/packages/docusaurus-plugin-pwa/package.json b/packages/docusaurus-plugin-pwa/package.json index 52b49db3e7d3..bb8a47817097 100644 --- a/packages/docusaurus-plugin-pwa/package.json +++ b/packages/docusaurus-plugin-pwa/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/plugin-pwa", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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.22.9", "@babel/preset-env": "^7.22.9", - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-translations": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-translations": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "babel-loader": "^9.1.3", "clsx": "^1.2.1", "core-js": "^3.31.1", @@ -41,7 +41,7 @@ "workbox-window": "^6.6.1" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", "fs-extra": "^11.1.0" }, "peerDependencies": { diff --git a/packages/docusaurus-plugin-sitemap/package.json b/packages/docusaurus-plugin-sitemap/package.json index d3faf39f6a9b..6522d0582d0e 100644 --- a/packages/docusaurus-plugin-sitemap/package.json +++ b/packages/docusaurus-plugin-sitemap/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/plugin-sitemap", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "fs-extra": "^11.1.1", "sitemap": "^7.1.1", "tslib": "^2.6.0" diff --git a/packages/docusaurus-preset-classic/package.json b/packages/docusaurus-preset-classic/package.json index 42753fde0f17..4135c827bf82 100644 --- a/packages/docusaurus-preset-classic/package.json +++ b/packages/docusaurus-preset-classic/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/preset-classic", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Classic preset for Docusaurus.", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -18,19 +18,19 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/plugin-content-blog": "3.0.0-beta.0", - "@docusaurus/plugin-content-docs": "3.0.0-beta.0", - "@docusaurus/plugin-content-pages": "3.0.0-beta.0", - "@docusaurus/plugin-debug": "3.0.0-beta.0", - "@docusaurus/plugin-google-analytics": "3.0.0-beta.0", - "@docusaurus/plugin-google-gtag": "3.0.0-beta.0", - "@docusaurus/plugin-google-tag-manager": "3.0.0-beta.0", - "@docusaurus/plugin-sitemap": "3.0.0-beta.0", - "@docusaurus/theme-classic": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-search-algolia": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0" + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/plugin-content-blog": "3.0.0-rc.0", + "@docusaurus/plugin-content-docs": "3.0.0-rc.0", + "@docusaurus/plugin-content-pages": "3.0.0-rc.0", + "@docusaurus/plugin-debug": "3.0.0-rc.0", + "@docusaurus/plugin-google-analytics": "3.0.0-rc.0", + "@docusaurus/plugin-google-gtag": "3.0.0-rc.0", + "@docusaurus/plugin-google-tag-manager": "3.0.0-rc.0", + "@docusaurus/plugin-sitemap": "3.0.0-rc.0", + "@docusaurus/theme-classic": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-search-algolia": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0" }, "peerDependencies": { "react": "^18.0.0", diff --git a/packages/docusaurus-remark-plugin-npm2yarn/package.json b/packages/docusaurus-remark-plugin-npm2yarn/package.json index 0371c313b7d1..b805eb5c94da 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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 f551adb3c57e..f766bde8e7c1 100644 --- a/packages/docusaurus-theme-classic/package.json +++ b/packages/docusaurus-theme-classic/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/theme-classic", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/mdx-loader": "3.0.0-beta.0", - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/plugin-content-blog": "3.0.0-beta.0", - "@docusaurus/plugin-content-docs": "3.0.0-beta.0", - "@docusaurus/plugin-content-pages": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-translations": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/plugin-content-blog": "3.0.0-rc.0", + "@docusaurus/plugin-content-docs": "3.0.0-rc.0", + "@docusaurus/plugin-content-pages": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-translations": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@mdx-js/react": "^2.1.5", "clsx": "^1.2.1", "copy-text-to-clipboard": "^3.2.0", diff --git a/packages/docusaurus-theme-common/package.json b/packages/docusaurus-theme-common/package.json index 748c9fdbab3e..b0b215a62067 100644 --- a/packages/docusaurus-theme-common/package.json +++ b/packages/docusaurus-theme-common/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/theme-common", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/plugin-content-blog": "3.0.0-beta.0", - "@docusaurus/plugin-content-docs": "3.0.0-beta.0", - "@docusaurus/plugin-content-pages": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/plugin-content-blog": "3.0.0-rc.0", + "@docusaurus/plugin-content-docs": "3.0.0-rc.0", + "@docusaurus/plugin-content-pages": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", "@types/history": "^4.7.11", "@types/react": "*", "@types/react-router-config": "*", @@ -47,8 +47,8 @@ "utility-types": "^3.10.0" }, "devDependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", "fs-extra": "^11.1.1", "lodash": "^4.17.21" }, diff --git a/packages/docusaurus-theme-live-codeblock/package.json b/packages/docusaurus-theme-live-codeblock/package.json index 2baa4329c527..3ba59fa19e48 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-translations": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-translations": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@philpl/buble": "^0.19.7", "clsx": "^1.2.1", "fs-extra": "^11.1.1", @@ -34,7 +34,7 @@ "tslib": "^2.6.0" }, "devDependencies": { - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/types": "3.0.0-rc.0", "@types/buble": "^0.20.1" }, "peerDependencies": { diff --git a/packages/docusaurus-theme-mermaid/package.json b/packages/docusaurus-theme-mermaid/package.json index 33702ec6c109..4d78e043c7ff 100644 --- a/packages/docusaurus-theme-mermaid/package.json +++ b/packages/docusaurus-theme-mermaid/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/theme-mermaid", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "mermaid": "^10.4.0", "tslib": "^2.6.0" }, diff --git a/packages/docusaurus-theme-search-algolia/package.json b/packages/docusaurus-theme-search-algolia/package.json index 1fb08a5a38f5..f5a2d6a7564c 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Algolia search component for Docusaurus.", "main": "lib/index.js", "sideEffects": [ @@ -34,13 +34,13 @@ }, "dependencies": { "@docsearch/react": "^3.5.2", - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/plugin-content-docs": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-translations": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/plugin-content-docs": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-translations": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "algoliasearch": "^4.18.0", "algoliasearch-helper": "^3.13.3", "clsx": "^1.2.1", @@ -51,7 +51,7 @@ "utility-types": "^3.10.0" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0" + "@docusaurus/module-type-aliases": "3.0.0-rc.0" }, "peerDependencies": { "react": "^18.0.0", diff --git a/packages/docusaurus-theme-translations/package.json b/packages/docusaurus-theme-translations/package.json index 425f849cb273..b627cf41bb3a 100644 --- a/packages/docusaurus-theme-translations/package.json +++ b/packages/docusaurus-theme-translations/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/theme-translations", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Docusaurus theme translations.", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -23,8 +23,8 @@ "tslib": "^2.6.0" }, "devDependencies": { - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", "lodash": "^4.17.21" }, "engines": { diff --git a/packages/docusaurus-tsconfig/package.json b/packages/docusaurus-tsconfig/package.json index 0fb55ed943eb..0f41e4e4167f 100644 --- a/packages/docusaurus-tsconfig/package.json +++ b/packages/docusaurus-tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/tsconfig", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Docusaurus base TypeScript configuration.", "main": "tsconfig.json", "publishConfig": { diff --git a/packages/docusaurus-types/package.json b/packages/docusaurus-types/package.json index cdeee38918fe..680d8fc40a1a 100644 --- a/packages/docusaurus-types/package.json +++ b/packages/docusaurus-types/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/types", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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 85425ecfaef3..85370f78dc6d 100644 --- a/packages/docusaurus-utils-common/package.json +++ b/packages/docusaurus-utils-common/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/utils-common", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Common (Node/Browser) utility functions for Docusaurus packages.", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/docusaurus-utils-validation/package.json b/packages/docusaurus-utils-validation/package.json index 04074b8c30e3..0a5ebcfb85ea 100644 --- a/packages/docusaurus-utils-validation/package.json +++ b/packages/docusaurus-utils-validation/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/utils-validation", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", "joi": "^17.9.2", "js-yaml": "^4.1.0", "tslib": "^2.6.0" diff --git a/packages/docusaurus-utils/package.json b/packages/docusaurus-utils/package.json index f5f757e5673c..b25bd96bbe02 100644 --- a/packages/docusaurus-utils/package.json +++ b/packages/docusaurus-utils/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/utils", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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": "3.0.0-beta.0", + "@docusaurus/logger": "3.0.0-rc.0", "@svgr/webpack": "^6.5.1", "escape-string-regexp": "^4.0.0", "file-loader": "^6.2.0", @@ -40,7 +40,7 @@ "node": ">=18.0" }, "devDependencies": { - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/types": "3.0.0-rc.0", "@types/dedent": "^0.7.0", "@types/github-slugger": "^1.3.0", "@types/micromatch": "^4.0.2", diff --git a/packages/docusaurus/package.json b/packages/docusaurus/package.json index 61158590d8ff..5d0542c4f21d 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": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "license": "MIT", "publishConfig": { "access": "public" @@ -43,13 +43,13 @@ "@babel/runtime": "^7.22.6", "@babel/runtime-corejs3": "^7.22.6", "@babel/traverse": "^7.22.8", - "@docusaurus/cssnano-preset": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/mdx-loader": "3.0.0-beta.0", + "@docusaurus/cssnano-preset": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/mdx-loader": "3.0.0-rc.0", "@docusaurus/react-loadable": "5.5.2", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", - "@docusaurus/utils-validation": "3.0.0-beta.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", + "@docusaurus/utils-validation": "3.0.0-rc.0", "@slorber/static-site-generator-webpack-plugin": "^4.0.7", "@svgr/webpack": "^6.5.1", "autoprefixer": "^10.4.14", @@ -105,8 +105,8 @@ "webpackbar": "^5.0.2" }, "devDependencies": { - "@docusaurus/module-type-aliases": "3.0.0-beta.0", - "@docusaurus/types": "3.0.0-beta.0", + "@docusaurus/module-type-aliases": "3.0.0-rc.0", + "@docusaurus/types": "3.0.0-rc.0", "@types/detect-port": "^1.3.3", "@types/react-dom": "^18.2.7", "@types/react-router-config": "^5.0.7", diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index ba399eb4439c..4bc34b6365f3 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/eslint-plugin", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "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 a033af178209..5ac58eaad537 100644 --- a/packages/lqip-loader/package.json +++ b/packages/lqip-loader/package.json @@ -1,6 +1,6 @@ { "name": "@docusaurus/lqip-loader", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Low Quality Image Placeholders (LQIP) loader for webpack.", "main": "lib/index.js", "publishConfig": { @@ -17,7 +17,7 @@ }, "license": "MIT", "dependencies": { - "@docusaurus/logger": "3.0.0-beta.0", + "@docusaurus/logger": "3.0.0-rc.0", "file-loader": "^6.2.0", "lodash": "^4.17.21", "sharp": "^0.32.3", diff --git a/packages/stylelint-copyright/package.json b/packages/stylelint-copyright/package.json index 2e486c34395b..587116f2b77d 100644 --- a/packages/stylelint-copyright/package.json +++ b/packages/stylelint-copyright/package.json @@ -1,6 +1,6 @@ { "name": "stylelint-copyright", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "description": "Stylelint plugin to check CSS files for a copyright header.", "main": "lib/index.js", "license": "MIT", diff --git a/website/blog/2023-09-29-preparing-your-site-for-docusaurus-v3/index.mdx b/website/blog/2023-09-29-preparing-your-site-for-docusaurus-v3/index.mdx index cd326b44bfdf..fa6015739adb 100644 --- a/website/blog/2023-09-29-preparing-your-site-for-docusaurus-v3/index.mdx +++ b/website/blog/2023-09-29-preparing-your-site-for-docusaurus-v3/index.mdx @@ -49,7 +49,7 @@ MDX v2 is much better, but also comes with changes that probably require you to Upgrading MDX comes with all the breaking changes documented on the [MDX v2 release blog post](https://mdxjs.com/blog/v2/). The [MDX v2 migration guide](https://mdxjs.com/migrating/v2/) has a section on how to [update MDX files](https://mdxjs.com/migrating/v2/#update-mdx-files) that will be particularly relevant to us. Also make sure to read the [Troubleshooting MDX](https://mdxjs.com/docs/troubleshooting-mdx/) page that can help you interpret common MDX error messages. -Make sure to also read our updated [**MDX and React**](/docs/3.0.0-beta.0/markdown-features/react) documentation page. +Make sure to also read our updated [**MDX and React**](/docs/3.0.0-rc.0/markdown-features/react) documentation page. :::tip Ask for help @@ -214,14 +214,14 @@ http://localhost:3000 #### Lower-case MDXComponent mapping -For users providing a [custom `MDXComponent`mapping](/docs/3.0.0-beta.0/markdown-features/react#mdx-component-scope), components are now "sandboxed": +For users providing a [custom `MDXComponent`mapping](/docs/3.0.0-rc.0/markdown-features/react#mdx-component-scope), components are now "sandboxed": - a `MDXComponent` mapping for `h1` only gets used for `# hi` but not for `

hi

` - a **lower-cased** custom element name will not be substituted by its respective `MDXComponent` component anymore :::danger visual difference -Your [`MDXComponent` component mapping](/docs/3.0.0-beta.0/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used. +Your [`MDXComponent` component mapping](/docs/3.0.0-rc.0/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used. ::: diff --git a/website/docs/migration/v3.mdx b/website/docs/migration/v3.mdx index 1e79672ac8e5..3bb8a2ec87bc 100644 --- a/website/docs/migration/v3.mdx +++ b/website/docs/migration/v3.mdx @@ -292,7 +292,7 @@ For users providing a [custom `MDXComponent`mapping](../guides/markdown-features :::danger visual difference -Your [`MDXComponent` component mapping](/docs/3.0.0-beta.0/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used. +Your [`MDXComponent` component mapping](/docs/3.0.0-rc.0/markdown-features/react#mdx-component-scope) might not be applied as before, and your custom components might no longer be used. ::: diff --git a/website/package.json b/website/package.json index 155f11256182..b8ecccb47c42 100644 --- a/website/package.json +++ b/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "3.0.0-beta.0", + "version": "3.0.0-rc.0", "private": true, "scripts": { "docusaurus": "docusaurus", @@ -36,19 +36,19 @@ "dependencies": { "@crowdin/cli": "^3.13.0", "@crowdin/crowdin-api-client": "^1.23.3", - "@docusaurus/core": "3.0.0-beta.0", - "@docusaurus/logger": "3.0.0-beta.0", - "@docusaurus/plugin-client-redirects": "3.0.0-beta.0", - "@docusaurus/plugin-ideal-image": "3.0.0-beta.0", - "@docusaurus/plugin-pwa": "3.0.0-beta.0", - "@docusaurus/preset-classic": "3.0.0-beta.0", - "@docusaurus/remark-plugin-npm2yarn": "3.0.0-beta.0", - "@docusaurus/theme-classic": "3.0.0-beta.0", - "@docusaurus/theme-common": "3.0.0-beta.0", - "@docusaurus/theme-live-codeblock": "3.0.0-beta.0", - "@docusaurus/theme-mermaid": "3.0.0-beta.0", - "@docusaurus/utils": "3.0.0-beta.0", - "@docusaurus/utils-common": "3.0.0-beta.0", + "@docusaurus/core": "3.0.0-rc.0", + "@docusaurus/logger": "3.0.0-rc.0", + "@docusaurus/plugin-client-redirects": "3.0.0-rc.0", + "@docusaurus/plugin-ideal-image": "3.0.0-rc.0", + "@docusaurus/plugin-pwa": "3.0.0-rc.0", + "@docusaurus/preset-classic": "3.0.0-rc.0", + "@docusaurus/remark-plugin-npm2yarn": "3.0.0-rc.0", + "@docusaurus/theme-classic": "3.0.0-rc.0", + "@docusaurus/theme-common": "3.0.0-rc.0", + "@docusaurus/theme-live-codeblock": "3.0.0-rc.0", + "@docusaurus/theme-mermaid": "3.0.0-rc.0", + "@docusaurus/utils": "3.0.0-rc.0", + "@docusaurus/utils-common": "3.0.0-rc.0", "@popperjs/core": "^2.11.8", "@swc/core": "1.2.197", "clsx": "^1.2.1", @@ -83,8 +83,8 @@ ] }, "devDependencies": { - "@docusaurus/eslint-plugin": "3.0.0-beta.0", - "@docusaurus/tsconfig": "3.0.0-beta.0", + "@docusaurus/eslint-plugin": "3.0.0-rc.0", + "@docusaurus/tsconfig": "3.0.0-rc.0", "@types/color": "^3.0.4", "@types/jest": "^29.5.3", "cross-env": "^7.0.3", diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/architecture.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/architecture.mdx similarity index 95% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/architecture.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/architecture.mdx index 91dfecf3675c..8d1f8bdb2da6 100644 --- a/website/versioned_docs/version-3.0.0-beta.0/advanced/architecture.mdx +++ b/website/versioned_docs/version-3.0.0-rc.0/advanced/architecture.mdx @@ -20,7 +20,7 @@ This diagram shows how Docusaurus works to build your app. Plugins each collect Although you (either plugin authors or site creators) are writing JavaScript all the time, bear in mind that the JS is actually run in different environments: -- All plugin lifecycle methods are run in Node. Therefore, until we support ES Modules in our codebase, plugin source code must be provided as CommonJS that can be `require`'d. +- All plugin lifecycle methods are run in Node. Therefore, until we support ES Modules in our codebase, plugin source code must be provided as ES modules that can be imported, or CommonJS that can be `require`'d. - The theme code is built with Webpack. They can be provided as ESM—following React conventions. Plugin code and theme code never directly import each other: they only communicate through protocols (in our case, through JSON temp files and calls to `addRoute`). A useful mental model is to imagine that the plugins are not written in JavaScript, but in another language like Rust. The only way to interact with plugins for the user is through `docusaurus.config.js`, which itself is run in Node (hence you can use `require` and pass callbacks as plugin options). diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/client.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/client.mdx similarity index 100% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/client.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/client.mdx diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/index.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/index.mdx similarity index 100% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/index.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/index.mdx diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/plugins.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/plugins.mdx similarity index 94% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/plugins.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/plugins.mdx index 01b66d0c305b..1f09ea723a2a 100644 --- a/website/versioned_docs/version-3.0.0-beta.0/advanced/plugins.mdx +++ b/website/versioned_docs/version-3.0.0-rc.0/advanced/plugins.mdx @@ -1,6 +1,6 @@ # Plugins -Plugins are the building blocks of features in a Docusaurus 2 site. Each plugin handles its own individual feature. Plugins may work and be distributed as part of a bundle via presets. +Plugins are the building blocks of features in a Docusaurus site. Each plugin handles its own individual feature. Plugins may work and be distributed as part of a bundle via presets. ## Creating plugins {#creating-plugins} @@ -11,7 +11,7 @@ A plugin is a function that takes two parameters: `context` and `options`. It re You can use a plugin as a function directly included in the Docusaurus config file: ```js title="docusaurus.config.js" -module.exports = { +export default { // ... plugins: [ // highlight-start @@ -38,7 +38,7 @@ module.exports = { You can use a plugin as a module path referencing a separate file or npm package: ```js title="docusaurus.config.js" -module.exports = { +export default { // ... plugins: [ // without options: @@ -52,7 +52,7 @@ module.exports = { Then in the folder `my-plugin`, you can create an `index.js` such as this: ```js title="my-plugin/index.js" -module.exports = async function myPlugin(context, options) { +export default async function myPlugin(context, options) { // ... return { name: 'my-plugin', @@ -64,7 +64,7 @@ module.exports = async function myPlugin(context, options) { }, /* other lifecycle API */ }; -}; +} ``` --- @@ -99,7 +99,7 @@ This is a contrived example: in practice, `@docusaurus/theme-classic` provides t ::: ```js title="docusaurus.config.js" -module.exports = { +export default { // highlight-next-line themes: ['theme-blog'], plugins: ['plugin-content-blog'], @@ -109,7 +109,7 @@ module.exports = { And if you want to use Bootstrap styling, you can swap out the theme with `theme-blog-bootstrap` (another fictitious non-existing theme): ```js title="docusaurus.config.js" -module.exports = { +export default { // highlight-next-line themes: ['theme-blog-bootstrap'], plugins: ['plugin-content-blog'], diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/routing.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/routing.mdx similarity index 100% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/routing.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/routing.mdx diff --git a/website/versioned_docs/version-3.0.0-beta.0/advanced/ssg.mdx b/website/versioned_docs/version-3.0.0-rc.0/advanced/ssg.mdx similarity index 100% rename from website/versioned_docs/version-3.0.0-beta.0/advanced/ssg.mdx rename to website/versioned_docs/version-3.0.0-rc.0/advanced/ssg.mdx diff --git a/website/versioned_docs/version-3.0.0-beta.0/api/docusaurus.config.js.mdx b/website/versioned_docs/version-3.0.0-rc.0/api/docusaurus.config.js.mdx similarity index 95% rename from website/versioned_docs/version-3.0.0-beta.0/api/docusaurus.config.js.mdx rename to website/versioned_docs/version-3.0.0-rc.0/api/docusaurus.config.js.mdx index 35ab29326a61..3ef712b23067 100644 --- a/website/versioned_docs/version-3.0.0-beta.0/api/docusaurus.config.js.mdx +++ b/website/versioned_docs/version-3.0.0-rc.0/api/docusaurus.config.js.mdx @@ -18,12 +18,20 @@ Refer to the Getting Started [**Configuration**](../configuration.mdx) for examp `docusaurus.config.js` contains configurations for your site and is placed in the root directory of your site. -This file is run in Node.js using the [**CommonJS**](https://flaviocopes.com/commonjs/) module system, and should export a site configuration object, or a function that creates it. +This file is run in Node.js and should export a site configuration object, or a function that creates it. + +The `docusaurus.config.js` file supports: + +- [**ES Modules**](https://flaviocopes.com/es-modules/) +- [**CommonJS**](https://flaviocopes.com/commonjs/) +- [**TypeScript**](../typescript-support.mdx#typing-config) + +hey Examples: ```js title="docusaurus.config.js" -module.exports = { +export default { title: 'Docusaurus', url: 'https://docusaurus.io', // your site config ... @@ -31,13 +39,13 @@ module.exports = { ``` ```js title="docusaurus.config.js" -module.exports = async function createConfigAsync() { +export default async function createConfigAsync() { return { title: 'Docusaurus', url: 'https://docusaurus.io', // your site config ... }; -}; +} ``` :::tip @@ -55,7 +63,7 @@ Refer to [**Syntax to declare `docusaurus.config.js`**](../configuration.mdx#syn Title for your website. Will be used in metadata and as browser tab title. ```js title="docusaurus.config.js" -module.exports = { +export default { title: 'Docusaurus', }; ``` @@ -67,7 +75,7 @@ module.exports = { URL for your website. This can also be considered the top-level hostname. For example, `https://facebook.github.io` is the URL of https://facebook.github.io/metro/, and `https://docusaurus.io` is the URL for https://docusaurus.io. This field is related to the [`baseUrl`](#baseUrl) field. ```js title="docusaurus.config.js" -module.exports = { +export default { url: 'https://docusaurus.io', }; ``` @@ -79,7 +87,7 @@ module.exports = { Base URL for your site. Can be considered as the path after the host. For example, `/metro/` is the base URL of https://facebook.github.io/metro/. For URLs that have no path, the baseUrl should be set to `/`. This field is related to the [`url`](#url) field. Always has both leading and trailing slash. ```js title="docusaurus.config.js" -module.exports = { +export default { baseUrl: '/', }; ``` @@ -93,7 +101,7 @@ module.exports = { Path to your site favicon; must be a URL that can be used in link's href. For example, if your favicon is in `static/img/favicon.ico`: ```js title="docusaurus.config.js" -module.exports = { +export default { favicon: '/img/favicon.ico', }; ``` @@ -127,7 +135,7 @@ Example: {/* cSpell:ignore فارسی */} ```js title="docusaurus.config.js" -module.exports = { +export default { i18n: { defaultLocale: 'en', locales: ['en', 'fa'], @@ -171,7 +179,7 @@ This option adds `` to every pag Example: ```js title="docusaurus.config.js" -module.exports = { +export default { noIndex: true, // Defaults to `false` }; ``` @@ -213,7 +221,7 @@ By default, it displays a warning after you run `yarn start` or `yarn build`. The tagline for your website. ```js title="docusaurus.config.js" -module.exports = { +export default { tagline: 'Docusaurus makes it easy to maintain Open Source documentation websites.', }; @@ -226,7 +234,7 @@ module.exports = { The GitHub user or organization that owns the repository. You don't need this if you are not using the `docusaurus deploy` command. ```js title="docusaurus.config.js" -module.exports = { +export default { // Docusaurus' organization is facebook organizationName: 'facebook', }; @@ -239,7 +247,7 @@ module.exports = { The name of the GitHub repository. You don't need this if you are not using the `docusaurus deploy` command. ```js title="docusaurus.config.js" -module.exports = { +export default { projectName: 'docusaurus', }; ``` @@ -251,7 +259,7 @@ module.exports = { The name of the branch to deploy the static files to. You don't need this if you are not using the `docusaurus deploy` command. ```js title="docusaurus.config.js" -module.exports = { +export default { deploymentBranch: 'gh-pages', }; ``` @@ -263,7 +271,7 @@ module.exports = { The hostname of your server. Useful if you are using GitHub Enterprise. You don't need this if you are not using the `docusaurus deploy` command. ```js title="docusaurus.config.js" -module.exports = { +export default { githubHost: 'github.com', }; ``` @@ -275,7 +283,7 @@ module.exports = { The port of your server. Useful if you are using GitHub Enterprise. You don't need this if you are not using the `docusaurus deploy` command. ```js title="docusaurus.config.js" -module.exports = { +export default { githubPort: '22', }; ``` @@ -289,7 +297,7 @@ The [theme configuration](./themes/theme-configuration.mdx) object to customize Example: ```js title="docusaurus.config.js" -module.exports = { +export default { themeConfig: { docs: { sidebar: { @@ -358,7 +366,7 @@ type PluginConfig = string | [string, any] | PluginModule | [PluginModule, any]; See [plugin method references](./plugin-methods/README.mdx) for the shape of a `PluginModule`. ```js title="docusaurus.config.js" -module.exports = { +export default { plugins: [ 'docusaurus-plugin-awesome', ['docusuarus-plugin-confetti', {fancy: false}], @@ -376,7 +384,7 @@ module.exports = { - Type: `PluginConfig[]` ```js title="docusaurus.config.js" -module.exports = { +export default { themes: ['@docusaurus/theme-classic'], }; ``` @@ -390,7 +398,7 @@ type PresetConfig = string | [string, any]; ``` ```js title="docusaurus.config.js" -module.exports = { +export default { presets: [], }; ``` @@ -426,7 +434,7 @@ type MarkdownConfig = { Example: ```js title="docusaurus.config.js" -module.exports = { +export default { markdown: { format: 'mdx', mermaid: true, @@ -464,7 +472,7 @@ Docusaurus guards `docusaurus.config.js` from unknown fields. To add a custom fi - Type: `Object` ```js title="docusaurus.config.js" -module.exports = { +export default { customFields: { admin: 'endi', superman: 'lol', @@ -487,7 +495,7 @@ An array of paths, relative to the site's directory or absolute. Files under the Example: ```js title="docusaurus.config.js" -module.exports = { +export default { staticDirectories: ['static'], }; ``` @@ -501,7 +509,7 @@ An array of tags that will be inserted in the HTML ``. The values must be Example: ```js title="docusaurus.config.js" -module.exports = { +export default { headTags: [ { tagName: 'link', @@ -527,7 +535,7 @@ Note that `