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
/// The abbreviated declaration for this symbol's declaration, to display in navigation, or `nil` if the navigator title is the same as the summarized element.
213
+
///
214
+
/// If the summarized element has a navigator title but the variant doesn't, this property will be `Optional.some(nil)`.
/// Images that are used to represent the summarized element or `nil` if the images are the same as the summarized element.
210
218
///
211
219
/// If the summarized element has an image but the variant doesn't, this property will be `Optional.some(nil)`.
@@ -224,7 +232,8 @@ public struct LinkDestinationSummary: Codable, Equatable {
224
232
/// - taskGroups: The taskGroups of the variant or `nil` if the taskGroups is the same as the summarized element.
225
233
/// - usr: The precise symbol identifier of the variant or `nil` if the precise symbol identifier is the same as the summarized element.
226
234
/// - fullName: The full name of this symbol, derived from its full declaration fragments, or `nil` if the precise symbol identifier is the same as the summarized element.
227
-
/// - declarationFragments: The abbreviated declaration of the variant or `nil` if the declaration is the same as the summarized element.
235
+
/// - declarationFragments: The abbreviated declaration of the variant, to display in links, or `nil` if the declaration is the same as the summarized element.
236
+
/// - navigatorTitle: The abbreviated declaration for this symbol's declaration, to display in navigation, or `nil` if the declaration is the same as the summarized element.
228
237
publicinit(
229
238
traits:[RenderNode.Variant.Trait],
230
239
kind:VariantValue<DocumentationNode.Kind>=nil,
@@ -235,7 +244,8 @@ public struct LinkDestinationSummary: Codable, Equatable {
@@ -247,9 +257,10 @@ public struct LinkDestinationSummary: Codable, Equatable {
247
257
self.usr = usr
248
258
self.fullName = fullName
249
259
self.declarationFragments = declarationFragments
260
+
self.navigatorTitle = navigatorTitle
250
261
}
251
262
252
-
@available(*, deprecated, renamed:"init(traits:kind:language:relativePresentationURL:title:abstract:taskGroups:usr:fullName:declarationFragments:)", message:"Use `init(traits:kind:language:relativePresentationURL:title:abstract:taskGroups:usr:fullName:declarationFragments:)` instead. `TopicRenderReference` doesn't support variant specific topic images. This property will be removed after 6.3 is released")
263
+
@available(*, deprecated, renamed:"init(traits:kind:language:relativePresentationURL:title:abstract:taskGroups:usr:fullName:declarationFragments:navigatorTitle:)", message:"Use `init(traits:kind:language:relativePresentationURL:title:abstract:taskGroups:usr:fullName:declarationFragments:navigatorTitle:)` instead. `TopicRenderReference` doesn't support variant specific topic images. This property will be removed after 6.3 is released")
253
264
publicinit(
254
265
traits:[RenderNode.Variant.Trait],
255
266
kind:VariantValue<DocumentationNode.Kind>=nil,
@@ -261,6 +272,7 @@ public struct LinkDestinationSummary: Codable, Equatable {
@@ -273,7 +285,8 @@ public struct LinkDestinationSummary: Codable, Equatable {
273
285
taskGroups: taskGroups,
274
286
usr: usr,
275
287
fullName: fullName,
276
-
declarationFragments: declarationFragments
288
+
declarationFragments: declarationFragments,
289
+
navigatorTitle: navigatorTitle
277
290
)
278
291
}
279
292
}
@@ -295,7 +308,8 @@ public struct LinkDestinationSummary: Codable, Equatable {
295
308
/// - taskGroups: The reference URLs of the summarized element's children, grouped by their task groups.
296
309
/// - usr: The unique, precise identifier for this symbol that you use to reference it across different systems, or `nil` if the summarized element isn't a symbol.
297
310
/// - fullName: The full name of this symbol, derived from its full declaration fragments, or `nil` if the summarized element isn't a symbol.
298
-
/// - declarationFragments: The abbreviated fragments for this symbol's declaration, or `nil` if the summarized element isn't a symbol.
311
+
/// - declarationFragments: The abbreviated fragments for this symbol's declaration, to display in links, or `nil` if the summarized element isn't a symbol.
312
+
/// - navigatorTitle: The abbreviated fragments for this symbol's declaration, to display in navigation, or `nil` if the summarized element isn't a symbol.
299
313
/// - redirects: Any previous URLs for this element, or `nil` if this element has no previous URLs.
300
314
/// - topicImages: Images that are used to represent the summarized element, or `nil` if this element has no topic images.
301
315
/// - references: References used in the content of the summarized element, or `nil` if this element has no references to other content.
@@ -312,6 +326,7 @@ public struct LinkDestinationSummary: Codable, Equatable {
0 commit comments