Open GoogleCodeExporter opened 8 years ago
Not sure what I think about this one. Isn't creating your own plugin as easy as
creating a new template? Why
can't you just create your own source code generation plugin based on the
existing one?
Original comment by micmath
on 23 Nov 2009 at 9:43
Well, I don't want to modify the default jsdoc-toolkit installation. So I was
trying to enhance the existing plugin,
which I think will execute regardless of whether I create an additional plugin.
I also suspect that many folks are more likely to update some HTML & CSS rather
than write a plugin.
Original comment by jeff%met...@gtempaccount.com
on 23 Nov 2009 at 11:59
The publishWrcHilite plugin is only ever called from the jsdoc template, so I
consider it to be part of the
template, which admittedly is in the "default installation". I very strongly
encourage people to make their own
templates, so I don't really mind that the standard one is inflexible. That
said, I see your point about the header,
footer. I may implement it slightly differently though. Thinks...
Original comment by micmath
on 24 Nov 2009 at 9:35
Ah, if this functionality is considered to be a part of the template, then I
could just fold it into my template
(which is located outside the standard jsdoc-toolkit distribution).
It might be worth considering moving some of the plugins into a samples folder,
since I'm certain executing even
empty plugins adds up to significant CPU cycles when documenting a large
project.
Maybe the right answer here is to make a source.tmpl file and pour the
formatted code into that...
Original comment by jeff%met...@gtempaccount.com
on 24 Nov 2009 at 2:22
Original issue reported on code.google.com by
jeff%met...@gtempaccount.com
on 23 Nov 2009 at 12:51Attachments: