See https://github.com/zdharma/hacking-private/tree/master/zshdb
Some comments on that format:
- Commands seem to be tagged shell commands and as such get an added
(1), e.g. action.sh(1)
- The synopsis should be taken from the doc string that is already in the file. For example instead of "Documentation automatically generated with `zshelldoc'" the synopsis for action.sh should be:
action linespec command
Run command when linespec is hit
Use "A" to remove all actions and "L" to get a list of the actions in
effect.'
- The collected documentation should appear in its own folder and not in the top-level directory
See https://github.com/zdharma/hacking-private/tree/master/zshdb
Some comments on that format:
(1), e.g. action.sh(1)