-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow optional types on tags #166
Conversation
- Some tags allow optional inclusion of a type: - @enum : http://usejsdoc.org/tags-enum.html - @typedef : http://usejsdoc.org/tags-typedef.html - @param : http://usejsdoc.org/tags-param.html - @throws : http://usejsdoc.org/tags-throws.html
- dox needs a patch to build documentation successfully, but this gets the docs in a stable state - See: tj/dox#166
If it's not too much trouble, could you please add a test case for this? On Sat, Apr 18, 2015 at 4:38 AM, Jay Oster notifications@github.com wrote:
|
For sure! Will do in a bit. Looks like this was fixed once and regressed: #137 |
@ChiperSoft I added a simple test for this one. |
- The head of the tag description was dropped if the first part is not a type specifier
Discovered a few other edge cases while writing more tests. I'm happy with it now. |
Awesome, thank you very much. |
Fixes exceptions when a tag is missing its optional type. E.g.:
Raises an exception: