-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Docusaurus to V3 #241
Conversation
To upgrade to Docusaurus V3, the following actions have been performed: - Local machine: install node.js `>=18.x` - Upgrade the Docusaurus modules with the command `yarn upgrade @docusaurus/core@latest @docusaurus/plugin-client-redirects@latest @docusaurus/plugin-google-gtag@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@lates` - Update `yarn.lock` with the required values: - "@docusaurus/core": "3.0.0" - "@docusaurus/preset-classic": "3.0.0" - "@mdx-js/react": "^3.0.0" - "prism-react-renderer": "^2.1.0" - "react": "^18.2.0" - "react-dom": "^18.2.0" - "node": ">=18.0" - The themes light and dark imports in `docusaurus.config.js` have been updated to use the MDX V3 syntax - The `deploy.yml` action file has been updated to use node.js `>=18.x` - Due to Docusaurus V3 using MDX V3, the references using `{ ... }` have been formatted as code to void errors - The `theme/MDXComponents` file has been regenerated and updated with the previous values. This avoids errors with `details` component. - The file `package-lock.json` has been removed This PR also addresses: rancher#55 / rancher#238 / rancher#240 Signed-off-by: Nuno do Carmo [email protected]
✅ Deploy Preview for elemental-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does netlify need an update before merging this? 🚀
Already done after the I created the PR. The checks show not successful because they ran before I updated the runner on Netlify. After the update, Netlify is now showing it's OK. |
Addresses rancher#242
* Updated Docusaurus to V3 To upgrade to Docusaurus V3, the following actions have been performed: - Local machine: install node.js `>=18.x` - Upgrade the Docusaurus modules with the command `yarn upgrade @docusaurus/core@latest @docusaurus/plugin-client-redirects@latest @docusaurus/plugin-google-gtag@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@lates` - Update `yarn.lock` with the required values: - "@docusaurus/core": "3.0.0" - "@docusaurus/preset-classic": "3.0.0" - "@mdx-js/react": "^3.0.0" - "prism-react-renderer": "^2.1.0" - "react": "^18.2.0" - "react-dom": "^18.2.0" - "node": ">=18.0" - The themes light and dark imports in `docusaurus.config.js` have been updated to use the MDX V3 syntax - The `deploy.yml` action file has been updated to use node.js `>=18.x` - Due to Docusaurus V3 using MDX V3, the references using `{ ... }` have been formatted as code to void errors - The `theme/MDXComponents` file has been regenerated and updated with the previous values. This avoids errors with `details` component. - The file `package-lock.json` has been removed This PR also addresses: rancher#55 / rancher#238 / rancher#240 Signed-off-by: Nuno do Carmo [email protected] * Updated typescript module Addresses rancher#242 --------- Signed-off-by: Nuno do Carmo [email protected]
To upgrade to Docusaurus V3, the following actions have been performed:
Local machine: install node.js
>=18.x
Upgrade the Docusaurus modules with the command
yarn upgrade @docusaurus/core@latest @docusaurus/plugin-client-redirects@latest @docusaurus/plugin-google-gtag@latest @docusaurus/preset-classic@latest @docusaurus/module-type-aliases@lates
Update
yarn.lock
with the required values:The themes light and dark imports in
docusaurus.config.js
have been updated to use the MDX V3 syntaxThe
deploy.yml
action file has been updated to use node.js>=18.x
Due to Docusaurus V3 using MDX V3, the references using
{ ... }
have been formatted as code to void errorsThe
theme/MDXComponents
file has been regenerated and updated with the previous values. This avoids errors withdetails
componentThe file
package-lock.json
has been removed This PR also addresses:Bump @mdx-js/react from 1.6.22 to 2.3.0 #55 / Bump @docusaurus/module-type-aliases from 2.4.3 to 3.0.0 #238 / Bump prism-react-renderer from 1.3.5 to 2.2.0 #240
Signed-off-by: Nuno do Carmo [email protected]