Skip to content
nene edited this page Apr 3, 2013 · 43 revisions

The upcoming 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 install the 5.0 beta:

$ gem install jsduck --pre

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.