Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use default branches for unknown symbol kinds #132

Merged
merged 2 commits into from
Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
This source file is part of the Swift.org open source project

Copyright (c) 2021 Apple Inc. and the Swift project authors
Copyright (c) 2021-2022 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception

See https://swift.org/LICENSE.txt for license information
Expand Down Expand Up @@ -203,7 +203,7 @@ extension AutomaticCuration {
case .`typealias`: return "Type Aliases"
case .`var`: return "Variables"
case .module: return "Modules"
case .unknown: return "Symbols"
default: return "Symbols"
}
}

Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftDocC/Model/DocumentationNode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ public struct DocumentationNode {
case .`var`: return .globalVariable

case .module: return .module
case .unknown: return .unknown
default: return .unknown
}
}

Expand Down