Welcome to the Monastery | |
PerlMonks |
Re: Large-scale code documentationby tachyon (Chancellor) |
on Nov 04, 2004 at 23:55 UTC ( [id://405340]=note: print w/replies, xml ) | Need Help?? |
documentation generator? web-enabled perldoc? covers a fair bit of ground. The perldoc project looks like it died but might help you out. Before doing anything I would start by putting it all under CVS (Short tutorial) With CVS you get a nice cohesive location for backup etc as well as all the other benefits. Then I would simply use Pod and refactor as I went. POD::HTML will give you some nice docs and you can use CVS to rollback any misfactors. A significant problem with autodoc generation is the parsing stage. B::Xref does a reasonable job if you were looking to roll your own.
Unpatched it creates a ream of warnings about unit vars, thus the 2>errs. If you examine the output you will see info like this. I ran it on UNIVERSAL.pm as this is a nice short 10 lines, the more complex the code, the more output you get.
It includes a lot of the info you need to automatically generate docs and will show lexical as well as global vars. cheers tachyon
In Section
Seekers of Perl Wisdom
|
|