@@ -26,10 +26,6 @@ import ToolchainRegistry
2626import struct TSCBasic. AbsolutePath
2727import struct TSCBasic. RelativePath
2828
29- #if canImport(DocCDocumentation)
30- package import DocCDocumentation
31- #endif
32-
3329/// Actor that caches realpaths for `sourceFilesWithSameRealpath`.
3430fileprivate actor SourceFilesWithSameRealpathInferrer {
3531 private let buildServerManager : BuildServerManager
@@ -101,10 +97,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
10197 /// The build server manager to use for documents in this workspace.
10298 package let buildServerManager : BuildServerManager
10399
104- #if canImport(DocCDocumentation)
105- package let doccDocumentationManager : DocCDocumentationManager
106- #endif
107-
108100 private let sourceFilesWithSameRealpathInferrer : SourceFilesWithSameRealpathInferrer
109101
110102 let options : SourceKitLSPOptions
@@ -153,9 +145,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
153145 self . options = options
154146 self . _uncheckedIndex = ThreadSafeBox ( initialValue: uncheckedIndex)
155147 self . buildServerManager = buildServerManager
156- #if canImport(DocCDocumentation)
157- self . doccDocumentationManager = DocCDocumentationManager ( buildServerManager: buildServerManager)
158- #endif
159148 self . sourceFilesWithSameRealpathInferrer = SourceFilesWithSameRealpathInferrer (
160149 buildServerManager: buildServerManager
161150 )
@@ -417,9 +406,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
417406
418407 // Notify all clients about the reported and inferred edits.
419408 await buildServerManager. filesDidChange ( events)
420- #if canImport(DocCDocumentation)
421- await doccDocumentationManager. filesDidChange ( events)
422- #endif
423409
424410 async let updateSyntacticIndex : Void = await syntacticTestIndex. filesDidChange ( events)
425411 async let updateSemanticIndex : Void ? = await semanticIndexManager? . filesDidChange ( events)
0 commit comments