Skip to content

chore(i18n, v7): rename archived v7 pages and usage partials to .mdx - #4706

Draft
thetaPC wants to merge 2 commits into
translation/jpfrom
FW-6456-pt8-jp
Draft

chore(i18n, v7): rename archived v7 pages and usage partials to .mdx#4706
thetaPC wants to merge 2 commits into
translation/jpfrom
FW-6456-pt8-jp

Conversation

@thetaPC

@thetaPC thetaPC commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Issue URL: internal

What is the current behavior?

The archived v7 docs on this branch are still .md. Docusaurus's Strict MDX guidance asks for .mdx, and v7 has to move before the transitional .md shims in the component API plugin can be removed.

Because docs/ and the generated CLI and native pages already moved, v7's links to them are dead: 69 markdown links on this branch cannot be resolved.

What is the new behavior?

The jp companion to #4698. Same trees, same result.

  • 239 pages in versioned_docs/version-v7 renamed (README.md stays .md, it is excluded from the docs plugin)
  • 401 index.md partials in static/usage/v7 renamed
  • 1121 imports and links updated to match

Does this introduce a breaking change?

  • Yes
  • No

Other information

The v7 link and import graph now matches #4698 entry for entry across all 641 files.

How to test

v7 is archived, so a normal build skips it. To build it:

  1. Add "v7" to versions.json: ["v8", "v7"]
  2. Delete any stale generated .md left over from earlier branches, or the build fails with duplicate doc ids: rm -f docs/native/.md versioned_docs/version-v/native/*.md
  3. npm run build
  4. Confirm 310 v7 pages build, and that the only remaining couldn't be resolved warnings are the two react.md ones
  5. Revert versions.json

Spot check /docs/v7/angular/your-first-app/2-taking-photos and /docs/v7/api/accordion: the Camera API link and the playground partials should both load.

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-docs Ready Ready Preview Sep 4, 2026 11:35pm UTC

Request Review

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.

1 participant