Skip to content

Commit

Permalink
Update lazyhelp.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
sethaxen committed Oct 5, 2023
1 parent b487bdd commit c001839
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/lazyhelp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function gendocstr(h::LazyHelp)
end
end

# warning: piracy on the high seas 🏴‍☠️
function Base.Docs.parsedoc(d::Base.Docs.DocStr)
if d.object isa LazyHelp
s = gendocstr(d.object)
Expand All @@ -50,5 +51,6 @@ function Base.Docs.parsedoc(d::Base.Docs.DocStr)
md.meta[:module] = d.data[:module]
md.meta[:path] = d.data[:path]
d.object = md
end
return d.object
end

0 comments on commit c001839

Please sign in to comment.