File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Sources/DocCDocumentation Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ package struct DocCDocumentationManager: Sendable {
38
38
39
39
package func filesDidChange( _ events: [ FileEvent ] ) async {
40
40
for event in events {
41
- guard let target = await buildSystemManager. canonicalTarget ( for: event. uri) ,
42
- let catalogURL = await buildSystemManager. doccCatalog ( for: target)
43
- else {
44
- continue
41
+ for target in await buildSystemManager. targets ( for: event. uri) {
42
+ guard let catalogURL = await buildSystemManager. doccCatalog ( for: target) else {
43
+ continue
44
+ }
45
+ await catalogIndexManager. invalidate ( catalogURL)
45
46
}
46
- await catalogIndexManager. invalidate ( catalogURL)
47
47
}
48
48
}
49
49
@@ -56,6 +56,7 @@ package struct DocCDocumentationManager: Sendable {
56
56
/// - Parameters:
57
57
/// - symbolUSR: The USR of the symbol to render
58
58
/// - symbolGraph: The symbol graph that includes the given symbol USR
59
+ /// - overrideDocComments: An array of documentation comment lines that will override the comments in the symbol graph
59
60
/// - markupFile: The markdown article or symbol extension to render
60
61
/// - tutorialFile: The tutorial file to render
61
62
/// - moduleName: The name of the Swift module that will be rendered
You can’t perform that action at this time.
0 commit comments