You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add warning for symbols with @TechnologyRoot pages
When documentation contains symbols (from symbol graphs) and also has
@TechnologyRoot pages, emit a warning about the unsupported setup with
multiple roots in the documentation hierarchy.
The solution suggests removing the @TechnologyRoot directive so pages
are treated as articles under the module instead.
summary:"Documentation contains both symbols and articles with @TechnologyRoot directives",
2442
+
explanation:"""
2443
+
When documentation contains symbols (from symbol graph files), @TechnologyRoot directives create an unsupported setup with multiple roots in the documentation hierarchy.
2444
+
Remove the @TechnologyRoot directive so that this page is treated as an article under the module.
2445
+
"""
2446
+
)
2447
+
2448
+
guardlet range = rootPageArticle.value.metadata?.technologyRoot?.originalMarkup.range else{
2449
+
returnProblem(diagnostic: diagnostic)
2450
+
}
2451
+
2452
+
letsolution=Solution(
2453
+
summary:"Remove the \(TechnologyRoot.directiveName.singleQuoted) directive",
0 commit comments