@@ -21,6 +21,26 @@ package struct DocCServer {
2121 server = DocumentationServer . createDefaultServer ( qualityOfService: qualityOfService, peer: peerServer)
2222 }
2323
24+ /// Sends a request to SwiftDocC that will convert in-memory documentation.
25+ ///
26+ /// - Parameters:
27+ /// - externalIDsToConvert: The external IDs of the symbols to convert.
28+ /// - documentPathsToConvert: The paths of the documentation nodes to convert.
29+ /// - includeRenderReferenceStore: Whether the conversion's render reference store should be included in
30+ /// the response.
31+ /// - documentationBundleLocation: The file location of the documentation bundle to convert, if any.
32+ /// - documentationBundleDisplayName: The name of the documentation bundle to convert.
33+ /// - documentationBundleIdentifier: The identifier of the documentation bundle to convert.
34+ /// - symbolGraphs: The symbol graph data included in the documentation bundle to convert.
35+ /// - overridingDocumentationComments: The mapping of external symbol identifiers to lines of a documentation
36+ /// comment that overrides the value in the symbol graph.
37+ /// - emitSymbolSourceFileURIs: Whether the conversion's rendered documentation should include source file
38+ /// location metadata.
39+ /// - markupFiles: The article and documentation extension file data included in the documentation bundle to convert.
40+ /// - tutorialFiles: The tutorial file data included in the documentation bundle to convert.
41+ /// - convertRequestIdentifier: A unique identifier for the request. Can be used to map additional data alongside
42+ /// a request for use later on.
43+ /// - Throws: A ``DocCServerError`` representing the type of error that occurred.
2444 func convert(
2545 externalIDsToConvert: [ String ] ? ,
2646 documentPathsToConvert: [ String ] ? ,
0 commit comments