@@ -96,15 +96,15 @@ enum GeneratedDocumentationTopics {
96
96
97
97
private static let defaultImplementationGroupTitle = " Default Implementations "
98
98
99
- private static func createCollectionNode( parent: ResolvedTopicReference , title: String , identifiers: [ ResolvedTopicReference ] , context: DocumentationContext , bundle : DocumentationBundle ) throws {
99
+ private static func createCollectionNode( parent: ResolvedTopicReference , title: String , identifiers: [ ResolvedTopicReference ] , context: DocumentationContext ) throws {
100
100
let automaticCurationSourceLanguage : SourceLanguage
101
101
let automaticCurationSourceLanguages : Set < SourceLanguage >
102
102
automaticCurationSourceLanguage = identifiers. first? . sourceLanguage ?? . swift
103
103
automaticCurationSourceLanguages = Set ( identifiers. flatMap { identifier in context. sourceLanguages ( for: identifier) } )
104
104
105
105
// Create the collection topic reference
106
106
let collectionReference = ResolvedTopicReference (
107
- bundleID: bundle . id,
107
+ bundleID: context . inputs . id,
108
108
path: NodeURLGenerator . Path. documentationCuration (
109
109
parentPath: parent. path,
110
110
articleName: title
@@ -227,8 +227,7 @@ enum GeneratedDocumentationTopics {
227
227
/// - relationships: A set of relationships to inspect.
228
228
/// - symbolsURLHierarchy: A symbol graph hierarchy as created during symbol registration.
229
229
/// - context: A documentation context to update.
230
- /// - bundle: The current documentation bundle.
231
- static func createInheritedSymbolsAPICollections( relationships: Set < SymbolGraph . Relationship > , context: DocumentationContext , bundle: DocumentationBundle ) throws {
230
+ static func createInheritedSymbolsAPICollections( relationships: Set < SymbolGraph . Relationship > , context: DocumentationContext ) throws {
232
231
var inheritanceIndex = InheritedSymbols ( )
233
232
234
233
// Walk the symbol graph relationships and look for parent <-> child links that stem in a different module.
@@ -258,7 +257,7 @@ enum GeneratedDocumentationTopics {
258
257
for (typeReference, collections) in inheritanceIndex. implementingTypes where !collections. inheritedFromTypeName. isEmpty {
259
258
for (_, collection) in collections. inheritedFromTypeName where !collection. identifiers. isEmpty {
260
259
// Create a collection for the given provider type's inherited symbols
261
- try createCollectionNode ( parent: typeReference, title: collection. title, identifiers: collection. identifiers, context: context, bundle : bundle )
260
+ try createCollectionNode ( parent: typeReference, title: collection. title, identifiers: collection. identifiers, context: context)
262
261
}
263
262
}
264
263
}
0 commit comments