Skip to content

chore(mdx): use mdx exts for i-u folders - #3457

Merged
thetaPC merged 15 commits into
docusaurus-mdxfrom
mdx-pt-4
Apr 19, 2024
Merged

chore(mdx): use mdx exts for i-u folders#3457
thetaPC merged 15 commits into
docusaurus-mdxfrom
mdx-pt-4

Conversation

@thetaPC

@thetaPC thetaPC commented Feb 15, 2024

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

Some files are using the .md extension. Docusaurus v3 has stated that at some point that these files will no longer be parsed as expected and will parsed as CommonMark. They advice to use .mdx instead.

What is the new behavior?

  • docs/intro/ files have been switched from .md to .mdx
  • docs/layout/ files have been switched from .md to .mdx
  • docs/reference/ files have been switched from .md to .mdx
  • docs/techniques/ files have been switched from .md to .mdx
  • docs/test/ files have been switched from .md to .mdx
  • docs/theming/ files have been switched from .md to .mdx
  • docs/troubleshooting/ files have been switched from .md to .mdx
  • docs/updating/ files have been switched from .md to .mdx
  • docs/utilities/ files have been switched from .md to .mdx

same for v5 and v6

Does this introduce a breaking change?

  • Yes
  • No

Other information

I'm splitting these into smaller PRs to make it easier to review.

@vercel

vercel Bot commented Feb 15, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 19, 2024 5:02pm

@thetaPC
thetaPC merged commit 5420817 into docusaurus-mdx Apr 19, 2024
@thetaPC
thetaPC deleted the mdx-pt-4 branch April 19, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants