Hi all,
When writing documentation for a function, is it possible to create cross-references (i.e. @ref
) to functions that have the same name but different dispatch signature? Below is a simplified example of what I have in mind.
struct TypeOne end
struct TypeTwo end
"""
function foo(TypeOne())
Function performs operation foo.
See also: [`foo`](@ref) # Would like this to link to foo(::TypeTwo)
"""
function foo(mytype::TypeOne)
end
"""
function foo(TypeTwo())
Function performs a variant of operation foo.
See also: [`foo`](@ref) # Would like this to link to foo(::TypeOne)
"""
function foo(mytype::TypeTwo)
end