Open
Description
Description
If a catalog is named the same as the module and an article is named the same as a top-level symbol, then the article and the symbol both get the same ResolvedTopicReferences and DocC only emits a page for the article.
rdar://109177620
Checklist
- If possible, I've reproduced the issue using the
main
branch of this package. - This issue hasn't been addressed in an existing GitHub issue.
Expected Behavior
The ResolvedTopicReferences should contain disambiguation so that nothing every page has a unique reference. Both pages should be emitted.
Actual behavior
Only the article page is emitted.
Steps To Reproduce
- Create a DocC catalog with the same name as the module it documents
- Create an article—not a documentation extension—and name it the same as one of the top-level symbols in the module
- Curate the article
- Build documentation and inspect the content of the output. There won't be a json file for the symbol.
Swift-DocC Version Information
At least a few versions back (5.5)
Swift Compiler Version Information
No response