angular-cn/aio/tools/transforms/examples-package
Pete Bacon Darwin fb97e67fcb build(docs-infra): fail if there are unused example regions (#40479)
We can define regions in our examples that can be referenced
and rendered in guides as code snippets. It is quite hard to ensure
that these regions are maintained correctly. One reason for this is
it is hard to know whether a region is being used or not.

This commit adds a new processor that checks for unused named
regions in examples and fails if any are found.

Fixes #19761

PR Close #40479
2021-01-20 16:12:15 -08:00
..
file-readers build(aio): migrate plunker to stackblitz (#20165) 2018-01-23 21:30:27 -08:00
inline-tag-defs build(docs-infra): allow `""` as empty region in `{@example}` tags (#26514) 2018-10-18 09:54:17 -07:00
processors build(docs-infra): fail if there are unused example regions (#40479) 2021-01-20 16:12:15 -08:00
services build(docs-infra): fail if there are unused example regions (#40479) 2021-01-20 16:12:15 -08:00
index.js build(docs-infra): fail if there are unused example regions (#40479) 2021-01-20 16:12:15 -08:00