angular-docs-cn/aio/tools/transforms/angular-base-package/processors
George Kalpakas 2076bde100 build(docs-infra): take disambiguated doc paths into account when generating the sitemap (#41842)
In ##41788, the `disambiguateDocsPathsProcessor` was introduced to fix
an issue with case-insensitively equal paths. This processor may alter
the paths of some docs and thus their final URL in the app.

Previously, both the `disambiguateDocPathsProcessor` and the
`createSitemap` processor (which relies on the docs' computed paths to
generate the sitemap file) were configured to run before the
"rendering-docs" phase. However, this resulted in the
`disambiguateDocPathsProcessor`'s running after `createSitemap`, which
meant that the sitemap did not include the updated doc paths.

This commit fixes it by ensuring that the
`disambiguateDocPathsProcessor` is explicitly run before the
`createSitemap` processor, so that the latter will be able to take into
account any changes made by the former.

PR Close #41842
2021-04-27 14:05:23 -07:00
..
checkContentRules.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
checkContentRules.spec.js build(docs-infra): support doc aliases via `@alias` dgeni tag (#29673) 2019-04-04 10:52:36 -07:00
checkUnbalancedBackTicks.js refactor(docs-infra): refactors `checkUnbalancedBackTicks` (#37065) 2020-05-15 10:13:19 -07:00
checkUnbalancedBackTicks.spec.js build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
convertToJson.js build(aio): use the captured h1 as the title if necessary 2017-05-31 08:45:31 +03:00
convertToJson.spec.js test(docs-infra): run tests in random order (and make them pass) (#31527) 2019-07-18 10:17:13 -07:00
copyContentAssets.js build(aio): auto-fill width/height to all image tags 2017-05-01 15:52:51 -07:00
copyContentAssets.spec.js build(aio): move copyContentAssets processor to the base package 2017-05-01 15:52:51 -07:00
createSitemap.js feat(docs-infra): created new widget for events page (#36517) 2020-09-16 15:14:18 -07:00
createSitemap.spec.js test(docs-infra): remove usage of blacklist in test naming (#38927) 2020-09-23 15:46:02 -04:00
disambiguateDocPaths.js build(docs-infra): take disambiguated doc paths into account when generating the sitemap (#41842) 2021-04-27 14:05:23 -07:00
disambiguateDocPaths.spec.js build(docs-infra): take disambiguated doc paths into account when generating the sitemap (#41842) 2021-04-27 14:05:23 -07:00
fixInternalDocumentLinks.js build(aio): refactor dgeni packages 2017-04-23 22:50:33 +01:00
fixInternalDocumentLinks.spec.js docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
generateKeywords.js build: update stemmer to version 2.0.0 (#41724) 2021-04-26 11:00:59 -07:00
generateKeywords.spec.js build: update stemmer to version 2.0.0 (#41724) 2021-04-26 11:00:59 -07:00
renderLinkInfo.js build(aio): append information about links in and out of docs (#19583) 2017-10-10 17:06:51 -07:00
renderLinkInfo.spec.js build(aio): append information about links in and out of docs (#19583) 2017-10-10 17:06:51 -07:00
splitDescription.js build(docs-infra): error guides in docs (#40060) 2021-01-14 11:28:52 -08:00
splitDescription.spec.js build(docs-infra): error guides in docs (#40060) 2021-01-14 11:28:52 -08:00