hs.doc.builder.genComments(path, [recurse]) -> table
hs.doc
and hs.doc.hsdocs
.hs.doc.builder.genJSON(source) -> string
hs.doc
and hs.doc.hsdoc
and is used to provide the built in documentation for Hammerspoon.hs
command line tool (see hs.ipc
), you can use the following to generate the docs.json
file that is used to provide documentation for Hammerspoon Spoon bundles: hs -c "hs.doc.builder.genJSON("$(pwd)")" > docs.json
hs.doc.registerJSONFile
yourself -- it is not automatically loaded for you like it is for Spoons.hs.doc.builder.genSQL(source) -> string