-
Notifications
You must be signed in to change notification settings - Fork 3
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
Docusaurus v3への移行 #531
Comments
やること移行への準備
移行
移行後
|
This was referenced Nov 4, 2023
Merged
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Docusaurus 3.0.0に移行
Docursaurus 3.0.0がリリースされたので、移行する。
https://github.com/facebook/docusaurus/releases/tag/v3.0.0
https://docusaurus.io/docs/migration/v3
影響する変更
依存関係の更新
https://docusaurus.io/docs/migration/v3#upgrading-dependencies
Node.js 18への更新
https://docusaurus.io/docs/migration/v3#nodejs-v180
Admonitionの変更
https://docusaurus.io/docs/migration/v3#admonition-warning
React 18への移行により
import React from 'react';
が不要https://docusaurus.io/docs/migration/v3#automatic-jsx-runtime
設定ファイルのESMへの移行
https://docusaurus.io/docs/migration/v3#esm-and-typescript-configs
拡張子を
.mdx
に移行https://docusaurus.io/docs/migration/v3#using-the-mdx-extension
math関係のパッケージを更新
https://docusaurus.io/docs/migration/v3#upgrading-math-packages
MDX文法への完全な移行
https://docusaurus.io/docs/migration/v3#turn-off-mdx-v1-compat
HTMLコメントからMDXコメントへの移行
https://docusaurus.io/docs/migration/v3#comments-option
Admonitionの文法の移行
https://docusaurus.io/docs/migration/v3#admonitions-option
MDX v1からv3への移行
MDX checker CLI
https://github.com/slorber/docusaurus-mdx-checker
MDX v1からv2への移行
https://mdxjs.com/migrating/v2/
かなり大きな変更がある。次がこのリポジトリに影響する変更
MDX v2からv3への移行
https://mdxjs.com/migrating/v3/
大きな変更はない。
The text was updated successfully, but these errors were encountered: