angular-cn/aio/tools/transforms/angular-api-package/processors
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
..
addGlobalApiData.js feat(docs-infra): add the ability to expose globals (#34237) 2019-12-06 10:58:09 -08:00
addGlobalApiData.spec.js feat(docs-infra): add the ability to expose globals (#34237) 2019-12-06 10:58:09 -08:00
addMetadataAliases.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
addMetadataAliases.spec.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
addNotYetDocumentedProperty.js build(aio): fix `addNotYetDocumentedProperty` processor (#22770) 2018-03-15 11:37:31 -07:00
addNotYetDocumentedProperty.spec.js build(aio): fix `addNotYetDocumentedProperty` processor (#22770) 2018-03-15 11:37:31 -07:00
collectPackageContentDocs.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
collectPackageContentDocs.spec.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
computeApiBreadCrumbs.js build(docs-infra): include packages in API template breadcrumbs (#25453) 2018-08-14 13:17:15 -07:00
computeApiBreadCrumbs.spec.js fixup! docs: update Universal guide (#28296) 2019-03-11 10:52:18 -07:00
computeSearchTitle.js build(docs-infra): implement the 'package' API template (#24631) 2018-07-13 19:45:54 -04:00
computeSearchTitle.spec.js build(docs-infra): implement the 'package' API template (#24631) 2018-07-13 19:45:54 -04:00
computeStability.js build(aio): compute stability and deprecate `@stable` tag (#22674) 2018-03-13 19:55:00 -07:00
computeStability.spec.js build(aio): compute stability and deprecate `@stable` tag (#22674) 2018-03-13 19:55:00 -07:00
convertPrivateClassesToInterfaces.js build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
extractDecoratedClasses.js refactor(docs-infra): refactors `extractDecoratedClasses` (#37135) 2020-05-18 10:25:30 -07:00
extractDecoratedClasses.spec.js build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
extractPipeParams.js build(aio): improve the API Pipe pages (#22702) 2018-03-14 14:21:11 -07:00
extractPipeParams.spec.js build(aio): improve the API Pipe pages (#22702) 2018-03-14 14:21:11 -07:00
filterContainedDocs.js build(aio): rearrange processors to ensure we catch all content errors (#24000) 2018-06-13 16:47:40 -07:00
filterMembers.js fix(docs-infra): ignore `ng*Def` members in API docs (#31378) 2019-10-03 10:24:34 -07:00
filterMembers.spec.js fix(docs-infra): ignore `ng*Def` members in API docs (#31378) 2019-10-03 10:24:34 -07:00
filterPrivateDocs.js build(aio): rearrange processors to ensure we catch all content errors (#24000) 2018-06-13 16:47:40 -07:00
filterPrivateDocs.spec.js build(aio): rearrange processors to ensure we catch all content errors (#24000) 2018-06-13 16:47:40 -07:00
fixupRealProjectRelativePath.js build(docs-infra): display github links in CLI API docs (#26515) 2018-10-19 11:12:54 -07:00
fixupRealProjectRelativePath.spec.js build(docs-infra): display github links in CLI API docs (#26515) 2018-10-19 11:12:54 -07:00
generateApiListDoc.js build(docs-infra): implement the 'package' API template (#24631) 2018-07-13 19:45:54 -04:00
generateApiListDoc.spec.js docs: migrate examples from @angular/http to @angular/common/http (#28296) 2019-03-11 10:52:17 -07:00
markBarredODocsAsPrivate.js build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
markBarredODocsAsPrivate.spec.js build(aio): fix test description 2017-07-11 11:44:05 +01:00
matchUpDirectiveDecorators.js build(docs-infra): directive inputs and outputs (#25768) 2018-10-01 09:36:33 -07:00
matchUpDirectiveDecorators.spec.js build(docs-infra): directive inputs and outputs (#25768) 2018-10-01 09:36:33 -07:00
mergeDecoratorDocs.js build(docs-infra): capture all decorators in doc-gen (#41091) 2021-03-08 08:34:40 -08:00
mergeDecoratorDocs.spec.js build(docs-infra): capture all decorators in doc-gen (#41091) 2021-03-08 08:34:40 -08:00
mergeParameterInfo.js build(docs-infra): correctly handle "pseudo" classes (#36989) 2020-05-14 10:50:30 -07:00
mergeParameterInfo.spec.js build(docs-infra): correctly handle "pseudo" classes (#36989) 2020-05-14 10:50:30 -07:00
processAliasDocs.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
processAliasDocs.spec.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
processClassLikeMembers.js feat(aio): first pass API docs redesign (#21874) 2018-02-09 13:05:16 -08:00
processClassLikeMembers.spec.js style: typos fixed - https://github.com/vlajos/misspell-fixer (#22975) 2018-03-27 14:51:53 -04:00
processNgModuleDocs.js build(docs-infra): add NgModules references to provided injectables (#41960) 2021-05-10 10:28:30 -04:00
processNgModuleDocs.spec.js refactor(core): remove unnecessary cast (#41960) 2021-05-10 10:28:31 -04:00
processPackages.js feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00
processPackages.spec.js fix(docs-infra): correctly handle entry-points with no public exports (#40737) 2021-02-09 10:56:17 -08:00
processPseudoClasses.js build(docs-infra): correctly handle "pseudo" classes (#36989) 2020-05-14 10:50:30 -07:00
processPseudoClasses.spec.js build(docs-infra): correctly handle "pseudo" classes (#36989) 2020-05-14 10:50:30 -07:00
processSpecialElements.js feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00
removeInjectableConstructors.js build(docs-infra): support hiding constructors of injectable classes (#24529) 2018-06-26 10:58:11 -07:00
removeInjectableConstructors.spec.js build(docs-infra): support hiding constructors of injectable classes (#24529) 2018-06-26 10:58:11 -07:00
simplifyMemberAnchors.js build(aio): improve accuracy of code auto-linking (#22494) 2018-03-01 08:11:19 -08:00
simplifyMemberAnchors.spec.js build(aio): improve accuracy of code auto-linking (#22494) 2018-03-01 08:11:19 -08:00
updateGlobalApiPath.js build(docs-infra): disambiguate doc paths for global APIs (#42648) 2021-06-24 12:28:21 -07:00
updateGlobalApiPath.spec.js build(docs-infra): disambiguate doc paths for global APIs (#42648) 2021-06-24 12:28:21 -07:00