You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""$(TYPEDSIGNATURES)"""functionf2(v::Vector{Int}, m::Matrix{Float64})
returnsum(v) +sum(m)
end
which produces documentation:
It seems to me that the built-in alias Vector and Matrix are more readable. Is it possible to show the short alias instead of the original type in the documentation?
The text was updated successfully, but these errors were encountered:
Agreed, definitely a nice to have feature. If you're on Julia 1.6 or above this should just work out the box since TYPEDSIGNATURES hooks into the base display system for printing types, and printing of the type alias was added for 1.6:
Consider the following function in a module
CGP
which produces documentation:
![Snipaste_2021-02-05_15-02-54](https://user-images.githubusercontent.com/20141984/107000704-4773ff00-67c3-11eb-8cc5-b322cb162bde.png)
It seems to me that the built-in alias
Vector
andMatrix
are more readable. Is it possible to show the short alias instead of the original type in the documentation?The text was updated successfully, but these errors were encountered: