-
Notifications
You must be signed in to change notification settings - Fork 240
Custom tags
Rene Saarsoo edited this page Jul 17, 2013
·
43 revisions
JSDuck 5.0 brings a brand new custom tags system. It's much more flexible and powerful than the old system introduced in JSDuck 3.0, but it's not backwards compatible.
To introduce a new @tag
, you'll need to write a Ruby class
that implements the tag. Then load the class into JSDuck using the
--tags
option:
$ jsduck --tags my_custom_tag.rb ...other.options...
But don't be scared of Ruby. We'll start off with the very simplest of tags that even a monkey can implement.