chore(i18n, v7): rename archived v7 pages and usage partials to .mdx - #4706
Open
thetaPC wants to merge 2 commits into
Open
chore(i18n, v7): rename archived v7 pages and usage partials to .mdx#4706thetaPC wants to merge 2 commits into
thetaPC wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdshims 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.
versioned_docs/version-v7renamed (README.mdstays.md, it is excluded from the docs plugin)index.mdpartials instatic/usage/v7renamedDoes this introduce a breaking change?
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:
"v7"toversions.json:["v8", "v7"].mdleft over from earlier branches, or the build fails with duplicate doc ids:rm -f docs/native/.md versioned_docs/version-v/native/*.mdnpm run buildcouldn't be resolvedwarnings are the tworeact.mdonesversions.jsonSpot check
/docs/v7/angular/your-first-app/2-taking-photosand/docs/v7/api/accordion: the Camera API link and the playground partials should both load.