Skip to content

Commit e969ef1

Browse files
use new ivar/macro symbol kinds
1 parent f99c858 commit e969ef1

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
124124
.package(name: "swift-markdown", url: "https://github.com/apple/swift-markdown.git", .branch("main")),
125125
.package(name: "CLMDB", url: "https://github.com/apple/swift-lmdb.git", .branch("main")),
126126
.package(url: "https://github.com/apple/swift-argument-parser", .upToNextMinor(from: "1.0.1")),
127-
.package(name: "SymbolKit", url: "https://github.com/apple/swift-docc-symbolkit", .branch("main")),
127+
.package(name: "SymbolKit", url: "https://github.com/apple/swift-docc-symbolkit", .branch("revert-24-revert-21-objc-kinds")),
128128
.package(url: "https://github.com/apple/swift-crypto.git", .upToNextMinor(from: "1.1.2")),
129129
]
130130

Sources/SwiftDocC/Infrastructure/Topic Graph/AutomaticCuration.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ extension AutomaticCuration {
190190
case .`func`: return "Functions"
191191
case .`operator`: return "Operators"
192192
case .`init`: return "Initializers"
193+
case .ivar: return "Instance Variables"
194+
case .macro: return "Macros"
193195
case .`method`: return "Instance Methods"
194196
case .`property`: return "Instance Properties"
195197
case .`protocol`: return "Protocols"

Sources/SwiftDocC/Model/DocumentationNode.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,8 @@ public struct DocumentationNode {
443443
case .`func`: return .function
444444
case .`operator`: return .operator
445445
case .`init`: return .initializer
446+
case .ivar: return .instanceVariable
447+
case .macro: return .macro
446448
case .`method`: return .instanceMethod
447449
case .`property`: return .instanceProperty
448450
case .`protocol`: return .protocol

0 commit comments

Comments
 (0)