angular-docs-cn/aio/tools/transforms/angular-base-package
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
..
inline-tag-defs/custom-search-defs build(docs-infra): remove `{@searchKeywords}` from content when rendering (#37132) 2020-05-15 10:04:45 -07:00
post-processors fix(docs-infra): apply custom `autoLinkCode` filters to single-word `<code>` elements (#41709) 2021-04-26 10:59:08 -07:00
processors build(docs-infra): take disambiguated doc paths into account when generating the sitemap (#41842) 2021-04-27 14:05:23 -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 fix(docs-infra): apply custom `autoLinkCode` filters to single-word `<code>` elements (#41709) 2021-04-26 10:59:08 -07:00
ignore-words.json refactor(docs-infra): include more info in search index data (#41368) 2021-04-01 12:02:37 -07:00
index.js build(docs-infra): add path disambiguation (#41788) 2021-04-26 12:12:00 -07:00