DocStringExtensions.jl
DocStringExtensions.jl copied to clipboard
Extensions for Julia's docsystem.
When I have several methods, for example: ```julia """ $(SIGNATURES) Print-fu. """ foo(x::Int) = print(x) foo(x::Int, y::Int) = print(x + y) ``` I get ``` foo(x) Print-fu. ``` But I...
I have something similar to the following setup where I try to create a zero argument constructor for a parametric struct: ```julia using DocStringExtensions """ # struct definition My test...
This is done by making `TypedMethodSignatures` interpolatable and giving it the Expr of the thing the docstring is bound to. From the AST we can parse each arguments name, type...
According to `@time` and `@time_imports`, DocStringExtensions seems to recompile on every load, resulting in comparatively long load time (seems to vary a lot, but I've seen up to 75 ms)....