angular-docs-cn/aio/tools/transforms/angular-api-package
George Kalpakas 2203217c40 build(docs-infra): disambiguate doc paths for global APIs (#42648)
In #41788, the `disambiguateDocsPathsProcessor` was introduced to fix
an issue with case-insensitively equal paths. This processor may alter
the output paths of some docs. Due to its nature, the
`disambiguateDocPathsProcessor` must be the last processor in the
pipeline that updates a doc's output path. However, the
`updateGlobalApiPathProcess` (which also alters the output paths of some
docs) was not configured to run before `disambiguateDocPathsProcessor`.
As a result, the changes made by `disambiguateDocPathsProcessor` were
overridden by `updateGlobalApiPathProcess`, resulting in the app's
failing to load such global API docs pages. An example of such an API
page is: https://angular.io/api/core/global/ngApplyChanges

This commit fixes it by ensuring that the `updateGlobalApiPathProcess`
is explicitly run before the `disambiguateDocPathsProcessor`, so that
the former does not override the changes made by the latter.

PR Close #42648
2021-06-24 12:28:21 -07:00
..
content-rules build(aio): create minLength content rule (#22759) 2018-04-12 00:06:49 -07:00
mocks build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
processors build(docs-infra): disambiguate doc paths for global APIs (#42648) 2021-06-24 12:28:21 -07:00
readers feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00
tag-defs feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00
index.js feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00