angular-cn/aio/tools/transforms/angular-base-package
Pete Bacon Darwin 06bca0cc66 fix(docs-infra): do not auto-link code in bash and json snippets (#33877)
Previously any code block, which was not marked with
`no-auto-link` css class would have its contents auto-linked to
API pages. Sometimes this results in false positive links being
generated.

This is problematic for triple backticked blocks, which cannot provide
the `no-auto-link` CSS class to prevent the linking.

This commit fixes the problem by allowing the auto-linker to be
configured not to auto-link code blocks that have been marked with an
"ignored" language. By default these are `bash` and `json`.

Triple backticked blocks are able to specify the language directly after
the first set of triple backticks.

Fixes #33859

PR Close #33877
2019-11-18 09:11:01 -08:00
..
post-processors fix(docs-infra): do not auto-link code in bash and json snippets (#33877) 2019-11-18 09:11:01 -08:00
processors test(docs-infra): run tests in random order (and make them pass) (#31527) 2019-07-18 10:17:13 -07:00
readers build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
rendering build(docs-infra): include directives etc in class descendants lists (#25768) 2018-10-01 09:36:33 -07:00
services refactor(docs-infra): move auto-link filters to dedicated directory (#31051) 2019-06-19 14:59:34 -07:00
ignore.words build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
index.js build(docs-infra): update dgeni-packages dependency (#31368) 2019-07-02 11:28:23 -07:00