You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When listing a module under a topics group in a technology root and supporting both Objective-C and Swift, the sidebar (and search) still only shows the Swift symbols even when switching the language to Objective-C.
When removing the technology root, this works as expected, and the symbols in the sidebar switch correctly to Objective-C names when changing the language.
Even adding @SupportedLanguage directives for both swift and objc doesn't fix this behavior.
Checklist
If possible, I've reproduced the issue using the main branch of this package.
Description
When listing a module under a topics group in a technology root and supporting both Objective-C and Swift, the sidebar (and search) still only shows the Swift symbols even when switching the language to Objective-C.
When removing the technology root, this works as expected, and the symbols in the sidebar switch correctly to Objective-C names when changing the language.
Even adding
@SupportedLanguage
directives for bothswift
andobjc
doesn't fix this behavior.Checklist
main
branch of this package.Expected Behavior
Switching the language to Objective-C should show the Objective-C symbols in the sidebar.
Actual behavior
Switching the language to Objective-C shows the Swift symbols in the sidebar.
Steps To Reproduce
This can be reproduced with the following project: SlothFramework.zip
This project contains a Swift file with a class that has a different name in Objective-C.
This project also contains a documentation catalog including a technology root page listing the framework this project produces in its topics group.
docc
binary).Swift-DocC Version Information
3e0c8e2
Swift Compiler Version Information
The text was updated successfully, but these errors were encountered: