shahmishal
released this
06 Jun 19:05
·
188 commits
to main
since this release
[5.10] Fix problem where API Collections had no roleHeading assigned … …(#795) rdar://90789460 The eyebrow title for articles curating a list of symbols should display 'API Collection'. Prior to this fix, the eyebrow did not show anything. 'API Collection' now appears whenever one of the curated items in the Topics section is a symbol. If the entire list does not contain a symbol (i.e., it's a plain collection), we maintain the old behavior of not displaying anything as the eyebrow title. Tests have been added to verify the correct assignment of an eyebrow title for the following cases: Articles, API Collections, and Collections. Renamed `contentCompiler` to `topicSectionContentCompiler` in the `visitArticle` method.