mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
30e486a41c
This commit extracts the heading ID generation logic into a shared utility
and updates both the route generation script and the markdown pipeline to use it.
This ensures consistency between the generated routes and the rendered
documentation, and fixes an issue where custom heading IDs (`{#id}`)
were ignored during route generation.
Fixes #67200
(cherry picked from commit bedfcb5644)