angular-cn/aio/content
George Kalpakas f85a120b7b docs(router): fix code-example headers (#42507)
Previously, the code-examples headers used in the
"Creating custom route matches" tutorial contained the name of the
example directory (`routing-with-urlmatcher`). This was confusing,
because the user was previously instructed to create an app named
`angular-custom-route-match` and switch to that directory.

This commit fixes it by removing the root directory name from the
headers, thus leaving the path of the file relative to the current
working directory. This also aligns with code-examples in other guides.

PR Close #42507
2021-06-07 11:58:20 -07:00
..
cli build(docs-infra): ensure that terminal code snippets render correctly (#41986) 2021-05-07 13:11:04 -04:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
errors docs: clarify how type-only imports can be used to avoid NG3003 (#42491) 2021-06-07 10:47:13 -07:00
examples docs: provide more info on the `NO_ERRORS_SCHEMA` schema (#42327) 2021-06-07 10:46:34 -07:00
guide docs(router): fix code-example headers (#42507) 2021-06-07 11:58:20 -07:00
images docs: offboard misko and annie from contributors page (#42467) 2021-06-03 13:17:45 -07:00
marketing docs: offboard misko and annie from contributors page (#42467) 2021-06-03 13:17:45 -07:00
start docs: fix a typo (#42384) 2021-05-27 08:55:28 -07:00
tutorial docs: edits to remove jargon (#42025) 2021-05-27 16:46:11 -07:00
file-not-found.md fix(docs-infra): increase the max width of the `file-not-found` page (#41275) 2021-04-01 11:36:44 -07:00
license.md docs: update year (#40925) 2021-02-22 12:37:40 -08:00
navigation.json docs: move the schematics under Angular Tools menu section (#42332) 2021-05-26 20:05:12 +00:00