running pdoc on multiple libraries concatenated together

1 view
Skip to first unread message

deadlyicon

unread,
Oct 8, 2009, 9:58:45 PM10/8/09
to PDoc
I've started writing a library called klass.js and it uses pdoc for
documentation. Today I tried running pdoc on prototype and klass.js
concatenated together and pdoc barfed. It seems you cannot define a
section with the same name twice.

Both prototype and my klass.js have a Language section. I.E we both
have a comment like this
/**
* == Language ==
**/
Pdoc seems to parse this just fine but barfs trying to write two
language files

I was hoping I could use pdoc to generate combined documentation for a
number of libraries I use that use pdoc independently. Is this
something in Pdoc's future?

Thanks!

Tobie Langel

unread,
Oct 8, 2009, 10:10:04 PM10/8/09
to PDoc
Hi, Jared.

That's an interesting issue / use-case.

Honestly, I don't think it will make it at the top of our todo list
for PDoc, though; The benefits are too small compared to the added
complexity.

Of course, you're always welcomed to submit a patch.

Best,

Tobie
Reply all
Reply to author
Forward
0 new messages