Skip to content

Commit 8ffe904

Browse files
authored
[CLI] Fix command generate-doc (#1559)
1 parent 05477ca commit 8ffe904

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- Fix analyzer [RCS1140](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1140) ([PR](https://github.com/dotnet/roslynator/pull/1554))
1515
- Fix analyzer [RCS1096](https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1096) ([PR](https://github.com/dotnet/roslynator/pull/1558))
1616
- [CLI] Improve removing of unused symbols ([PR](https://github.com/dotnet/roslynator/pull/1550))
17+
- [CLI] Fix command `generate-doc` ([PR](https://github.com/dotnet/roslynator/pull/1559))
1718

1819
## [4.12.7] - 2024-10-01
1920

src/Documentation/DocumentationWriter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,11 +1423,11 @@ internal void WriteTable(
14231423

14241424
if (symbol.Kind == SymbolKind.Parameter)
14251425
{
1426-
GetXmlDocumentation(symbol.ContainingSymbol)?.GetElement(WellKnownXmlTags.Param, "name", symbol.Name)?.WriteContentTo(this);
1426+
GetXmlDocumentation(symbol.ContainingSymbol)?.GetElement(WellKnownXmlTags.Param, "name", symbol.Name)?.WriteContentTo(this, inlineOnly: true);
14271427
}
14281428
else if (symbol.Kind == SymbolKind.TypeParameter)
14291429
{
1430-
GetXmlDocumentation(symbol.ContainingSymbol)?.GetElement(WellKnownXmlTags.TypeParam, "name", symbol.Name)?.WriteContentTo(this);
1430+
GetXmlDocumentation(symbol.ContainingSymbol)?.GetElement(WellKnownXmlTags.TypeParam, "name", symbol.Name)?.WriteContentTo(this, inlineOnly: true);
14311431
}
14321432
else
14331433
{

0 commit comments

Comments
 (0)