How to get YUIdoc to document things that aren't in classes?

51 views
Skip to first unread message

Benjamin Lupton

unread,
Sep 10, 2015, 2:36:42 PM9/10/15
to yuidoc

So I have the following file: https://github.com/bevry/assert-helpers/blob/f45d1b9f23629ed004c3afc76b501eef212dfffa/esnext/lib/helpers.js

However, it does not generate any documentation for any of those methods... How can I get YUIdoc to document them?

Benjamin Lupton

unread,
Sep 10, 2015, 2:40:49 PM9/10/15
to yuidoc
Seems this is the same issue here: http://stackoverflow.com/q/12686569/130638

Solution seems to be to make a fictitious class then make the properties static methods of it, which seems overly tedious.

Benjamin Lupton

unread,
Sep 10, 2015, 2:47:15 PM9/10/15
to yuidoc

Ryuichi Okumura

unread,
Sep 15, 2015, 7:37:17 AM9/15/15
to yuidoc

2015年9月11日(金) 3:47 Benjamin Lupton <balu...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "yuidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yuidoc+un...@googlegroups.com.
To post to this group, send email to yui...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/yuidoc/18982909-c32b-4356-a298-7b443b3d89c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages