angular/adev/shared-docs/components/viewers/docs-viewer
Shuaib Hasan Akib 5d8b76b4fa fix(docs-infra): extract header attribute as title in multifile code snippets
The DocViewer component's getCodeSnippetsFromMultifileWrapper method was not
extracting the header attribute from nested <docs-code> elements, causing the
ExampleViewer to fall back to displaying file paths instead of custom headers
in tab labels.

This change adds title extraction from the header attribute when processing
multifile code snippets, ensuring that custom headers are properly displayed
in the code viewer tabs.

Fixes #64760
2025-10-29 18:48:00 +01:00
..
docs-viewer.component.scss fix(docs-infra): fix guide content width (#63798) 2025-09-15 15:25:40 +00:00
docs-viewer.component.spec.ts docs(docs-infra): allow collapse code example (#63559) 2025-09-04 15:25:23 -07:00
docs-viewer.component.ts fix(docs-infra): extract header attribute as title in multifile code snippets 2025-10-29 18:48:00 +01:00