Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ package struct ExternalRenderNode {
externalEntity.topicRenderReference.navigatorTitleVariants
}

/// The variants of the abbreviated declaration of the symbol to display in links.
var fragmentsVariants: VariantCollection<[DeclarationRenderSection.Token]?> {
externalEntity.topicRenderReference.fragmentsVariants
}

/// Author provided images that represent this page.
var images: [TopicImage] {
externalEntity.topicRenderReference.images
Expand All @@ -87,7 +82,6 @@ package struct ExternalRenderNode {
/// A language specific representation of an external render node value for building a navigator index.
struct NavigatorExternalRenderNode: NavigatorIndexableRenderNodeRepresentation {
var identifier: ResolvedTopicReference
var externalIdentifier: RenderReferenceIdentifier
var kind: RenderNode.Kind
var metadata: ExternalRenderNodeMetadataRepresentation

Expand All @@ -109,7 +103,6 @@ struct NavigatorExternalRenderNode: NavigatorIndexableRenderNodeRepresentation {

self.identifier = renderNode.identifier.withSourceLanguages(Set(arrayLiteral: traitLanguage))
self.kind = renderNode.kind
self.externalIdentifier = renderNode.externalIdentifier

self.metadata = ExternalRenderNodeMetadataRepresentation(
title: renderNode.titleVariants.value(for: traits),
Expand Down Expand Up @@ -145,4 +138,4 @@ struct ExternalRenderNodeMetadataRepresentation: NavigatorIndexableRenderMetadat
var fragments: [DeclarationRenderSection.Token]? = nil
var roleHeading: String? = nil
var platforms: [AvailabilityRenderItem]? = nil
}
}