Skip to content

docs(jp): remove obsolete Angular badge page superseded by xplat sync - #515

Merged
jsakamotoIGJP merged 2 commits into
vnextfrom
jp-sync/avatar-xplat-topic-pr450-cc02dc2a6107cc35
Aug 25, 2026
Merged

jsakamotoIGJP merged 2 commits into
vnextfrom
jp-sync/avatar-xplat-topic-pr450-cc02dc2a6107cc35

Conversation

@jsakamotoIGJP

Copy link
Copy Markdown
Contributor

Summary

Removes the obsolete docs/angular/src/content/jp/components/badge.mdx file. This page was a manually maintained legacy topic living outside the inputs/ directory structure used by the current xplat generation pipeline.

The root cause was tracked down separately: docs/xplat/src/content/jp/toc.json had "exclude": ["Angular"] set on the badge entry (a mismatch with the English toc.json), which caused generate.mjs to skip generating inputs/badge.mdx for Angular/JP. That has been fixed in a prior commit, so the JP Angular badge page will now be generated automatically from docs/xplat/src/content/jp/components/inputs/badge.mdx via npm run angular:dev:jp / build:jp, making this hand-maintained file redundant and stale.

Checklist:

  • check topic's TOC/menu and paragraph headings
  • Include TOC topic labels in the topic content when it has a valuable update, is new, or is considered preview / beta
  • link to other topics using ./page.mdx or ../relative/path.mdx (.mdx extension required)
  • at the References section at the end of the topic add links to topics, samples, etc
  • reference API documentation instead of adding a section with API

  • use valid component names - [Data] Grid, IgxSelectComponent, <igx-combo>
  • use spell checker tool (VS Code, Grammarly, Microsoft Editor)
  • add inline code blocks for the names of classes / tags / properties
  • add language descriptor for the code blocks
  • check if links function by running the check-api/mdx npm commands
  • check if sample is working and fully visible in the topic
  • check if sample is working and fully visible in the StackBlitz
  • check if code blocks match the code in StackBlitz demo
  • add or update meaningful llms.description metadata and run npm run check:llms-metadata


  • do not resolve requested changes (leave that to the reviewer)

@IG-Mori
IG-Mori self-requested a review August 25, 2026 04:44
@IG-Mori

IG-Mori commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

@jsakamotoIGJP
I have verified this using AI.

There is one concern that is not mentioned in the Summary.

⚠️ docs/angular/src/content/jp/components/toc.json remains uncorrected.

  • Relevant section (around line 2013): "href": "badge.mdx" (without the inputs/ prefix)
  • The corresponding file in the EN version has already been corrected to "href": "inputs/badge.mdx" (as of PR feat(docs): update badge xplat topic #445).
  • sync-generated.mjs explicitly excludes toc.json from synchronization targets ("Angular manages its own"), so this inconsistency will not be fixed automatically.
  • Additionally, since the Japanese auto-synchronization workflow (sync-jp-docs-angular) is designed to apply changes only when new differences arise in the English toc.json, automatic follow-up by this workflow cannot be expected under the current circumstances where the English side is already corrected (with no differences).

If merged as is, the actual badge.mdx file will be deleted, while the TOC on the Angular Japanese side will continue to reference a non-existent path (badge.mdx), which may break menus and links.

@jsakamotoIGJP

Copy link
Copy Markdown
Contributor Author

@IG-Mori Thank you for finding the issue I missed.
I fixed that problem, so could you please review this PR again?

@jsakamotoIGJP
jsakamotoIGJP merged commit 647630d into vnext Aug 25, 2026
11 checks passed
@jsakamotoIGJP
jsakamotoIGJP deleted the jp-sync/avatar-xplat-topic-pr450-cc02dc2a6107cc35 branch August 25, 2026 05:32
@jsakamotoIGJP

Copy link
Copy Markdown
Contributor Author

Hi @StamenStoychev,
I verified on staging, and it looks good. Please merge these changes on vnext to main and deploy to production whenever you get a chance. Thanks!

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