Closed siddharthlal25 closed 1 year ago
The workaround was:
"""
filenames(...)
docstring
"""
function filenames end
@resumable function filenames(...)
...
end
It would be nice to add a functionality that allows users to document directly above @resumable
function.
Yes, this would be nice
I will look at this issue but I think the workaround is the easiest way to document resumable functions
I am using Documenter.jl and I have similar issue. The workaround is in my opinion only temporal solution. I suggest adding encapsulation of the function as follows
@resumable begin
"""
filenames(...)
docstring
"""
function filenames(...)
...
end
end
To be fixed in #71 - for future reference, one simply needs to use Base.@__doc__
for situations like this.
Doing this:
throws an error, error being: