parameters Block
open fun PageContentBuilder.DocumentableContentBuilder.parametersBlock(function: DFunction, paramBuilder: PageContentBuilder.DocumentableContentBuilder.(DParameter) -> Unit)
Content copied to clipboard
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 }
}Content copied to clipboard
Wrapping and indentation of parameters is applied conditionally, see shouldWrapParams