Hammerspoon / hammerspoon

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

Properly document LuaSkin with examples #2545

Open asmagill opened 3 years ago

asmagill commented 3 years ago
asmagill commented 3 years ago

@latenitefilms moved the discussion here.

@cmsj how is this built? It looks like at least some of the issues I've had with AppleDoc don't plague the site at https://www.hammerspoon.org/docs/LuaSkin/, but I haven't done a thorough review yet.

The Examples section is sort of a check list for some docs I hope to work on when I take a couple of weeks to visit my daughter next month (she's in the UK and I'm not, so I expect to be self-quarantining in house, assuming restrictions don't change, for a while when I get there and figure that's as good a time as any to catch up on my writing). Most likely they'll end up in the Wiki, unless there is an easy way to merge them with the API docs?

And for the Lua side helpers, I am also planning to add the following:

Maybe others, will update as necessary.

edit - need to preview before posting lists!

cmsj commented 3 years ago

@asmagill check out the build/html/LuaSkin target in the top level Makefile - it uses headerdoc2html which I think comes with Xcode