Skip to content

docs(config): import each example from its own version - #4875

Merged
thetaPC merged 1 commit into
translation/jpfrom
jp/config-examples
Nov 20, 2026
Merged

thetaPC merged 1 commit into
translation/jpfrom
jp/config-examples

Conversation

@thetaPC

@thetaPC thetaPC commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue URL: N/A

What is the current behavior?

  • The config page in docs, v8 and v7 imports its examples from @site/docs/developing/config/<name>/index.mdx, so v8 and v7 show the v9 examples.
  • The Fallbacks section imports the Overrides example and vice versa.
  • Once docs: require a frontmatter description on every page #4865 lands on main, those @site/docs paths no longer exist and the Japanese build fails.

What is the new behavior?

  • The example files are renamed to _<name>.mdx in docs, v8 and v7, matching main.
  • Each config.mdx imports its own version's examples with a relative path, and the Fallbacks and Overrides imports are swapped back.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Mirrors #4865 and #4866 on main.

⚠️ Merge this before #4865.

@vercel

vercel Bot commented Nov 19, 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 Nov 19, 2026 3:54am UTC

Request Review

@thetaPC
thetaPC marked this pull request as ready for review November 19, 2026 23:57
@thetaPC
thetaPC requested a review from a team as a code owner November 19, 2026 23:57
@thetaPC
thetaPC requested review from brandyscarney and removed request for a team November 19, 2026 23:57
@thetaPC
thetaPC merged commit 35de134 into translation/jp Nov 20, 2026
7 checks passed
@thetaPC
thetaPC deleted the jp/config-examples branch November 20, 2026 00:01

This branch was successfully deployed

1 active deployment
Preview — 2d4e299b Deployed Nov 19, 2026 by vercel[bot]
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