@@ -26,10 +26,6 @@ import ToolchainRegistry
26
26
import struct TSCBasic. AbsolutePath
27
27
import struct TSCBasic. RelativePath
28
28
29
- #if canImport(DocCDocumentation)
30
- package import DocCDocumentation
31
- #endif
32
-
33
29
/// Actor that caches realpaths for `sourceFilesWithSameRealpath`.
34
30
fileprivate actor SourceFilesWithSameRealpathInferrer {
35
31
private let buildServerManager : BuildServerManager
@@ -101,10 +97,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
101
97
/// The build server manager to use for documents in this workspace.
102
98
package let buildServerManager : BuildServerManager
103
99
104
- #if canImport(DocCDocumentation)
105
- package let doccDocumentationManager : DocCDocumentationManager
106
- #endif
107
-
108
100
private let sourceFilesWithSameRealpathInferrer : SourceFilesWithSameRealpathInferrer
109
101
110
102
let options : SourceKitLSPOptions
@@ -153,9 +145,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
153
145
self . options = options
154
146
self . _uncheckedIndex = ThreadSafeBox ( initialValue: uncheckedIndex)
155
147
self . buildServerManager = buildServerManager
156
- #if canImport(DocCDocumentation)
157
- self . doccDocumentationManager = DocCDocumentationManager ( buildServerManager: buildServerManager)
158
- #endif
159
148
self . sourceFilesWithSameRealpathInferrer = SourceFilesWithSameRealpathInferrer (
160
149
buildServerManager: buildServerManager
161
150
)
@@ -417,9 +406,6 @@ package final class Workspace: Sendable, BuildServerManagerDelegate {
417
406
418
407
// Notify all clients about the reported and inferred edits.
419
408
await buildServerManager. filesDidChange ( events)
420
- #if canImport(DocCDocumentation)
421
- await doccDocumentationManager. filesDidChange ( events)
422
- #endif
423
409
424
410
async let updateSyntacticIndex : Void = await syntacticTestIndex. filesDidChange ( events)
425
411
async let updateSemanticIndex : Void ? = await semanticIndexManager? . filesDidChange ( events)
0 commit comments