jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
234 stars 56 forks source link

Added default handling for tags #63

Closed ErisDS closed 10 years ago

ErisDS commented 10 years ago

62 is very simple, just adding support for aliases for existing functionality so that @returns behaves the same as @return etc.

This PR is a little bit bolder, and I've only done rudimentary testing with it, but it treats any tag it doesn't recognise in a similar way to param or return accepting a type and a description, and using the tag as the name so you get something like:

@typedef {String} I am a description

typedef String I am a description

closes #45