Skip to content

fix(mdx): merge orphaned inline ComponentBlock/PlatformBlock and fix cross-platform ApiLink resolution#242

Open
viktorkombov wants to merge 6 commits into
masterfrom
vkombov/fix-platform-component-blocks
Open

fix(mdx): merge orphaned inline ComponentBlock/PlatformBlock and fix cross-platform ApiLink resolution#242
viktorkombov wants to merge 6 commits into
masterfrom
vkombov/fix-platform-component-blocks

Conversation

@viktorkombov
Copy link
Copy Markdown
Contributor

@viktorkombov viktorkombov commented May 26, 2026

Closes #241
Closes #216
Closes #244

PR Description:

Fixes rendering issues caused by ComponentBlock (Angular) and PlatformBlock (xplat) being used mid-sentence, which creates separate <p> elements and orphaned punctuation in the rendered HTML.

Fixes broken ApiLink references across platforms by scoping suffix, prefix, kind, and package differences with PlatformBlock variants. Regenerates link reports for Angular, React, WebComponents, and Blazor with zero broken links.

Also updates ApiLink and PlatformBlock guidance to avoid excludeSuffixFor/excludePrefixFor and use explicit PlatformBlock variants instead.

@viktorkombov viktorkombov added the ❌ status: awaiting-test PRs awaiting manual verification label May 26, 2026
@dobromirts dobromirts added 💥 status: in-test PRs currently being tested and removed ❌ status: awaiting-test PRs awaiting manual verification labels May 27, 2026
@dobromirts

This comment was marked as resolved.

@viktorkombov viktorkombov changed the title fix(mdx): merge orphaned inline ComponentBlock/PlatformBlock prose in to single paragraphs fix(mdx): merge orphaned inline ComponentBlock/PlatformBlock and fix cross-platform ApiLink resolution May 28, 2026
@dobromirts
Copy link
Copy Markdown
Contributor

Multiple files are changed after exectuin: build:staging:angular:jp
image
Also multiple files are changed via the check-mdx-links:report scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💥 status: in-test PRs currently being tested

Projects

None yet

2 participants