angular/adev/shared-docs
Shuaib Hasan Akib ed500e42e6 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

(cherry picked from commit 5d8b76b4fa)
2025-10-29 18:48:05 +01:00
..
components fix(docs-infra): extract header attribute as title in multifile code snippets 2025-10-29 18:48:05 +01:00
directives docs(docs-infra): add rel="noopener" to external links with target="_blank" in ExternalLink directive (#64276) 2025-10-09 05:29:30 -07:00
icons refactor(docs-infra): migrate @angular/docs from dev-infra into adev directory (#57132) 2024-07-30 15:51:26 +00:00
interfaces fix(docs-infra): preserve shell class for multifile code blocks 2025-10-27 09:29:42 +01:00
pipeline fix(docs-infra): preserve shell class for multifile code blocks 2025-10-27 09:29:42 +01:00
pipes build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
providers build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
services docs(docs-infra): don't discard favorites in search history when reselected (#63906) 2025-09-22 14:22:19 +00:00
styles docs(docs-infra): Fix animation bug on iPhones (#64342) 2025-10-13 08:25:47 -07:00
testing build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
utils build: remove ts_project_interop infrastructure (#62908) 2025-07-31 09:12:58 +00:00
BUILD.bazel build: migrate all npm packages to use new rules_js based npm_package rule (#62954) 2025-08-05 19:08:45 +00:00
defaults.bzl build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
index.bzl docs: Add back script to generate example previews map (#60778) 2025-04-11 17:19:33 -04:00
index.ts docs(docs-infra): Use intersectionObserver for TOC (#60166) 2025-03-05 12:09:45 -08:00
package.json build: update all non-major dependencies (#64399) 2025-10-14 09:25:42 -07:00
tsconfig-test.json build: remove ts_project_interop file (#63421) 2025-08-27 11:23:57 -07:00
tsconfig.json docs(docs-infra): enable strict templates 2025-10-24 15:23:32 +02:00