Closed AnnieCyl closed 8 years ago
You also need to pass some JavaScript files in for JSDuck to parse.
@nene Ok, I got what you mean. I thought that we should add custom tags to jsduck first, then when we need to generate docs, jsduck would apply these custom tags automatically.
Thanks very much!
As documented:
$ jsduck --help=tags
--tags=PATH1,PATH2
Paths to custom tag implementations.
Paths can point to specific Ruby files or to a directory,
in which case all ruby files in that directory are loaded.
See also: https://github.com/senchalabs/jsduck/wiki/Custom-tags
You can use the --tags
option multiple times to reference multiple files, or you could point it to a directory containing all your custom tag files.
@nene Yes, I already figured out. Thanks!
Hi there. I want to define a custom tag named "test". Here is my test.rb file:
But I got this error:
Where did I do wrong?