Open asmagill opened 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:
ls.deprecated(module, name, message)
message
to the console when you try to execute module.name
and raises an error.ls.deprecationWarning(module, name, message, function)
message
on first use for this loading of Hammerspoon and then invokes specified functionMaybe others, will update as necessary.
edit - need to preview before posting lists!
@asmagill check out the build/html/LuaSkin
target in the top level Makefile - it uses headerdoc2html which I think comes with Xcode
Document Objective-C API
NS_OPTIONS
are currently not definedDocument Lua side helpers (ls)
Examples
NSObject
helper functionsLS_WithObjectWrapper