s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g a |
go to api |
g e |
go to examples |
g g |
go to guides |
h |
toggle this help ( esc also exits) |
As a command-line tool, lsdoc reads loomlibs and executes processors on them.
The cli offers usage info when executed without arguments:
$ lsdoc
usage: lsdoc [-h|--help] [-v|--version]
-l|--lib <path>...
-o|--output-dir <path>
[-d|--debug]
[-p|--processor <name>]
options:
-h --help Print this screen and exit
-v --version Print version and exit
-d --debug Turn on debug logging
-l --lib <path>... Add loomlib (multiple paths may be given)
-o --output-dir Set directory for output
-p --processor Select processor (info|ghpages)
When given a processor, and a loomlib, the tool reports errors and progress:
$ lsdoc -l ~/.loom/sdks/sprint34/libs/Log.loomlib -p info
lsdoc 2.0.0
no output directory specified
$ lsdoc -l ~/.loom/sdks/sprint34/libs/LSDoc.loomlib -p info -o ~/lsdoc/
lsdoc 2.0.0
running..
100% complete
done.
lsdoc currently ships with two processors:
info
- counts types in a loomlib and prints a simple text reportghpages
- processes documentation comments to generate markdown files compatible with publishing to GitHub Pages. The programming-pages theme is used.See Describing code for details about writing documentation comments for the GitHub Pages processor (ghpages
).
lsdoc
2018 pixeldroid
https://github.com/pixeldroid/lsdoc |
programming pages theme v0.5.10 (https://github.com/pixeldroid/programming-pages) |
s |
focus search bar ( enter to select, ▲ / ▼ to change selection) |
g a |
go to api |
g e |
go to examples |
g g |
go to guides |
h |
toggle this help ( esc also exits) |