Commit 037f0bc
authored
Fix bug where symbols with display names would get the framework name show up twice in the avaialbility badges. (#922)
When a framework had a display name different to the top-level symbol name, both variations would appear as availability badges in the symbols that were declared in extensions of that same framework, resulting in odd availability information.
rdar://1267137171 parent 2809e81 commit 037f0bc
File tree
2 files changed
+14
-1
lines changed- Sources/SwiftDocC/Model/Rendering
- Tests/SwiftDocCTests/Model
2 files changed
+14
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
1238 | | - | |
| 1238 | + | |
| 1239 | + | |
1239 | 1240 | | |
1240 | 1241 | | |
1241 | 1242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3045 | 3045 | | |
3046 | 3046 | | |
3047 | 3047 | | |
| 3048 | + | |
3048 | 3049 | | |
3049 | 3050 | | |
3050 | 3051 | | |
| |||
3098 | 3099 | | |
3099 | 3100 | | |
3100 | 3101 | | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
3101 | 3113 | | |
3102 | 3114 | | |
3103 | 3115 | | |
| |||
0 commit comments