in Sources/SwiftDocC/Model/Rendering/DocumentationContentRenderer.swift [145:165]
func role(for kind: DocumentationNode.Kind) -> RenderMetadata.Role {
switch kind {
// A list of special node kinds to map to predefined roles
case .article: return .article
case .chapter: return .collectionGroup
case .collection: return .collection
case .collectionGroup: return .collectionGroup
case .technology, .technologyOverview: return .overview
case .landingPage: return .article
case .module: return .collection
case .onPageLandmark: return .pseudoSymbol
case .root: return .collection
case .sampleCode: return .sampleCode
case .tutorialArticle: return .article
case .tutorial: return .tutorial
case .unknown: return .unknown
case .volume: return .collectionGroup
// All the remaining node kinds are symbols
default: return .symbol
}
}