Tracking issue: #3497
- Phase 1 groundwork is merged in PRs #3466, #3467, #3470, and #3496.
- This follow-up migration removes remaining heading IDs and fragment references.
- Docusaurus callouts have been replaced with Handbook-compatible raw HTML callouts.
- Translation source comments are preserved; active callout markers are converted so scans that target rendered directives stay clean.
-
Translation heading ID cleanup
- Remove remaining translated heading IDs.
- Verify with
rg '\{#[^}]+\}' packages/docs/site/docs packages/docs/site/i18n.
-
Translation fragment cleanup
- Inline remaining
APIListandThisIsQueryApireferences. - Verify with
rg '(_fragments|<APIList|<ThisIsQueryApi|PlaygroundWpNetWarning|JSApiShortExample)' packages/docs/site/docs packages/docs/site/i18n.
- Inline remaining
-
Info callout completion
- Convert remaining active
infocallouts to<div class="callout callout-info">. - Convert Markdown links inside touched callouts to HTML anchors.
- Convert remaining active
-
English warning and caution callouts
- Convert English
warning,caution, and equivalent danger callouts to<div class="callout callout-warning">. - Preserve titles as bold first lines.
- Convert English
-
English tip callouts
- Convert English
tipcallouts to<div class="callout callout-tip">. - Keep the local
.callout-tipDocusaurus fallback style incustom.css.
- Convert English
-
Translation callout parity
- Convert translated info, warning, caution, note, danger, and tip callouts.
- Suggested batches:
es + fr,pt-BR,ja, thenbn + gu + hi + it + tl.
rg '\{#[^}]+\}' packages/docs/site/docs packages/docs/site/i18nrg '(_fragments|<APIList|<ThisIsQueryApi|PlaygroundWpNetWarning|JSApiShortExample)' packages/docs/site/docs packages/docs/site/i18nrg '^:{3,}' packages/docs/site/docs packages/docs/site/i18nnpm exec nx run docs-site:build
- Raw callouts use Handbook classes:
callout-info,callout-tip, andcallout-warning. - Links inside raw callouts use HTML anchors so they render correctly in Handbook Markdown processing.
- The implementation is intentionally mechanical and should be split into the PR sequence above before opening pull requests.