angular-docs-cn/aio/tools/transforms/angular-base-package/post-processors
George Kalpakas c6b180380a fix(docs-infra): do not auto-link `http://` to the `common/http` (#31051)
Previously, our auto-linking feature would match `http` in URLs (such as
`http://...`) to the `common/http` package and automatically create a
link to that, which was undesirable. While it is possible to work around
that via `<code class="no-auto-link">http://...</code>`, most people
didn't even realize the issue.

Since in this case it is possible to reliably know it is a false match,
this commit fixes it by applying a custom auto-link filter that ignores
all docs for `http`, if it comes before `://`.

Fixes #31012

PR Close #31051
2019-06-19 14:59:34 -07:00
..
add-image-dimensions.js build(aio): fail doc-gen if referenced images are missing 2017-07-18 11:45:05 +01:00
add-image-dimensions.spec.js style(aio): fix docs linting issues (#19702) 2017-11-01 15:24:46 -07:00
auto-link-code.js fix(docs-infra): do not auto-link `http://` to the `common/http` (#31051) 2019-06-19 14:59:34 -07:00
auto-link-code.spec.js build(docs-infra): mark code blocks to disable auto-linking (#26675) 2018-10-26 18:09:20 -04:00
autolink-headings.js build(aio): render heading anchors on the right 2018-02-27 18:32:32 -08:00
autolink-headings.spec.js build(aio): render heading anchors on the right 2018-02-27 18:32:32 -08:00
h1-checker.js build(aio): fix warning about missing `<h1>` 2017-07-31 13:40:07 -07:00
h1-checker.spec.js build(aio): fix warning about missing `<h1>` 2017-07-31 13:40:07 -07:00