We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67e56d1 commit 2bfc102Copy full SHA for 2bfc102
Sources/SymbolGraphBuilder/Builds/SSGC.PackageBuild.swift
@@ -89,7 +89,10 @@ extension SSGC.PackageBuild
89
default: continue
90
}
91
92
- modulesToDump[constituent.id] = include
+ if constituent.module.type.hasSymbols
93
+ {
94
+ modulesToDump[constituent.id] = include
95
+ }
96
97
98
Sources/SymbolGraphBuilder/Sources/SSGC.DocumentationSources.swift
@@ -47,7 +47,8 @@ extension SSGC.DocumentationSources
47
moduleIndexes = try moduleLayouts.map
48
{
49
let id:Symbol.Module = $0.id
50
- let constituents:[SSGC.ModuleLayout] = try self.constituents(of: $0)
+ let constituents:[SSGC.ModuleLayout] = try self.constituents(of: $0).filter(
51
+ \.module.type.hasSymbols)
52
53
let symbols:
54
(
0 commit comments