Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua
http://www.hammerspoon.org
MIT License
11.7k stars 579 forks source link

hs.canvas.attributes documentation is missing #3214

Open duskwuff opened 2 years ago

duskwuff commented 2 years ago

https://www.hammerspoon.org/docs/hs.canvas.html#attributes

just says "Canvas Element Attributes", rather than displaying the much more useful list of attributes present in the source code:

https://github.com/Hammerspoon/hammerspoon/blob/master/extensions/canvas/canvas.lua#L15

asmagill commented 2 years ago

@cmsj, I think this is another place where your new documentation generation code is too particular about blank lines. In this case, I think categories other than function, constructor, and method should probably allow for a more free-form approach...

You should be able see the full documentation in the Hammerspoon console with hs.help("hs.canvas.attributes") (see http://www.hammerspoon.org/docs/hs.html#help for more info and formats for the console help system)