File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Sources/swift-doc/Extensions Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
#170 by @domcorvasce .
16
16
- Fixed version number for swift-doc command.
17
17
#159 by @mattt .
18
+ - Fixed relationship diagram to prevent linking to unknown symbols.
19
+ #178 by @MattKiazyk .
18
20
19
21
## [ 1.0.0-beta.4] - 2020-07-31
20
22
Original file line number Diff line number Diff line change @@ -60,7 +60,10 @@ extension Symbol {
60
60
for symbol in Set ( relationships. flatMap { [ $0. subject, $0. object] } ) {
61
61
guard self != symbol else { continue }
62
62
var node = symbol. node
63
- node. href = path ( for: symbol, with: baseURL)
63
+
64
+ if !( symbol. api is Unknown ) {
65
+ node. href = path ( for: symbol, with: baseURL)
66
+ }
64
67
graph. append ( node)
65
68
}
66
69
You can’t perform that action at this time.
0 commit comments