chore: add @dochide annotation
- it's easier to distinguish @private and something i dont want to see in docs
This commit is contained in:
parent
592fe82760
commit
3b01af99c1
1 changed files with 4 additions and 0 deletions
|
|
@ -30,4 +30,8 @@ hooks.write_pre = function(lines)
|
||||||
return lines
|
return lines
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hooks.sections["@dochide"] = function(s)
|
||||||
|
s.parent:clear_lines()
|
||||||
|
end
|
||||||
|
|
||||||
MiniDoc.generate(files, "doc/gopher.nvim.txt", { hooks = hooks })
|
MiniDoc.generate(files, "doc/gopher.nvim.txt", { hooks = hooks })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue