Closed as not planned
Description
using DocStringExtensions
"""
$(TYPEDSIGNATURES)
"""
function func(a::Integer, b::Integer = a; c::Integer = b)::Integer
a + b + c
end
@doc func
gives
func(a::Integer) -> Integer
func(a::Integer, b::Integer; c) -> Integer
TYPEDSIGNATURES
returns a simplified representation of method signatures, which, however, doesn't show the types and default values of keyword arguments. Is there a convenient way to also include them in the docstring?
The expected result is
func(a::Integer, b::Integer = a; c::Integer = b) -> Integer
Metadata
Metadata
Assignees
Labels
No labels