Skip Navigation
EnumerationEnumeration

TopicTypeIcon

The icons swift-docc-render shows for the kinds of documentation topics.

enum TopicTypeIcon

Overview

The navigator shows one icon per row (swift-docc-render’s TopicTypeIcon), and topic lists show an icon for articles, collections, tutorials and sample code (swift-docc-render’s TopicLinkBlockIcon). Symbol kinds use a framed letter, such as S for a structure or Pr for a protocol. Every icon carries the topic type in a data-topic-type attribute and its letters in a data-topic-letters attribute, so that a theme can restyle it, for example as a filled letter badge.

Topics