parametersBlock

open fun PageContentBuilder.DocumentableContentBuilder.parametersBlock(function: DFunction, paramBuilder: PageContentBuilder.DocumentableContentBuilder.(DParameter) -> Unit)

Builds a distinguishable function parameters block, so that it can be processed or custom rendered down the road.

Resulting structure:

SymbolContentKind.Parameters(style = wrapped) {
SymbolContentKind.Parameter(style = indented) { param, }
SymbolContentKind.Parameter(style = indented) { param, }
SymbolContentKind.Parameter(style = indented) { param }
}

Wrapping and indentation of parameters is applied conditionally, see shouldWrapParams