You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@available(*, deprecated, renamed:"info", message:"Use 'info' instead. This deprecated API will be removed after 6.3 is released.")
23
+
publicvarbundleInfo:URL?{
24
+
get{ catalogLocation }
25
+
set{ catalogLocation = newValue }
26
+
}
21
27
22
28
/// Feature flags to enable when performing this convert request.
23
29
publicvarfeatureFlags:FeatureFlags
@@ -55,7 +61,13 @@ public struct ConvertRequest: Codable {
55
61
publicvarincludeRenderReferenceStore:Bool?
56
62
57
63
/// The file location of the catalog to convert, if any.
58
-
publicvarbundleLocation:URL?
64
+
publicvarcatalogLocation:URL?
65
+
66
+
@available(*, deprecated, renamed:"catalogLocation", message:"Use 'catalogLocation' instead. This deprecated API will be removed after 6.3 is released.")
67
+
publicvarbundleLocation:URL?{
68
+
get{ catalogLocation }
69
+
set{ catalogLocation = newValue }
70
+
}
59
71
60
72
/// The symbols graph data included in the documentation catalog to convert.
61
73
///
@@ -97,13 +109,13 @@ public struct ConvertRequest: Codable {
97
109
98
110
/// Creates a request to convert in-memory documentation.
99
111
/// - Parameters:
100
-
/// - bundleInfo: Information about the catalog to convert.
112
+
/// - info: Information about the catalog to convert.
101
113
/// - featureFlags: Feature flags to enable when performing this convert request.
102
114
/// - externalIDsToConvert: The external IDs of the symbols to convert.
103
115
/// - documentPathsToConvert: The paths of the documentation nodes to convert.
104
116
/// - includeRenderReferenceStore: Whether the conversion's render reference store should be included in the
105
117
/// response.
106
-
/// - bundleLocation: The file location of the documentation catalog to convert, if any.
118
+
/// - catalogLocation: The file location of the documentation catalog to convert, if any.
107
119
/// - symbolGraphs: The symbols graph data included in the documentation catalog to convert.
108
120
/// - overridingDocumentationComments: The mapping of external symbol identifiers to lines of a
109
121
/// documentation comment that overrides the value in the symbol graph.
@@ -116,12 +128,12 @@ public struct ConvertRequest: Codable {
116
128
/// - symbolIdentifiersWithExpandedDocumentation: A dictionary of identifiers to requirements for these symbols to have expanded
@available(*, deprecated, renamed:"init(info:featureFlags:externalIDsToConvert:documentPathsToConvert:includeRenderReferenceStore:catalogLocation:symbolGraphs:overridingDocumentationComments:knownDisambiguatedSymbolPathComponents:emitSymbolSourceFileURIs:markupFiles:tutorialFiles:miscResourceURLs:symbolIdentifiersWithExpandedDocumentation:)", message:"Use 'init(info:featureFlags:externalIDsToConvert:documentPathsToConvert:includeRenderReferenceStore:catalogLocation:symbolGraphs:overridingDocumentationComments:knownDisambiguatedSymbolPathComponents:emitSymbolSourceFileURIs:markupFiles:tutorialFiles:miscResourceURLs:symbolIdentifiersWithExpandedDocumentation:)' instead. This deprecated API will be removed after 6.3 is released.")
Copy file name to clipboardExpand all lines: Sources/SwiftDocC/Infrastructure/External Data/ExternalMetadata.swift
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,13 @@ public struct ExternalMetadata {
77
77
publicvarinheritDocs=false
78
78
79
79
/// If `true`, there is no source catalog on disk and the inputs were passed via command line parameters.
80
-
publicvarisGeneratedBundle=false
80
+
publicvarisGeneratedCatalog=false
81
+
82
+
@available(*, deprecated, renamed:"isGeneratedCatalog", message:"Use 'isGeneratedCatalog' instead. This deprecated API will be removed after 6.3 is released.")
83
+
publicvarisGeneratedBundle:Bool{
84
+
get{ isGeneratedCatalog }
85
+
set{ isGeneratedCatalog = newValue }
86
+
}
81
87
82
88
/// The granularity of diagnostics to emit via the engine.
0 commit comments