Great to know you're giving PDoc a spin.
I thought that was the default behaviour.
The overall structure permits that easily, so it's only a matter of
modifying the templates to account for that.
I'd like to update the templates to what we're currently using in Prototype.
Ideally, I'd like to make those easily brandable in the future (via a
YAML config file). If you're so inclined...
Hope this helps,
Best,
Tobie
> I'd be up for having at coming up with some alternative/configurable
> templates.
I'm in the process of rewriting some myself. Maybe we should join forces.
> 1. Is there any way to preview the templates dynamically for testing
> purposes without having to parse the code and generate the static HTML
> templates everytime?
That's probably doable as the system is fairly decoupled, but there's
nothing set up at the moment.
> 2. Is there anyway to 'explore' the objects PDoc generates in IRB?
No. But you can look at the source code here:
http://github.com/tobie/pdoc/blob/master/lib/pdoc/parser/documentation_nodes.rb
The inheritance scheme is pretty basic so you should find your way
around pretty easily.
Best,
Tobie