in reply to Better pod2html, like www.perldoc.com ?
I found pods2html to be pretty cool. You can specify the css to use and it'll include a reference to that in every doc page. I use the following command and css. (actually I just cut out a heap of guff from the css, it was a bit of a mess.. could probably do with more work, but it's a starting point)
pods2html --css http://www.example.com/css/perldoc.css --index MyDocs +--toc /path/to/modules /path/where/docs/should/go BODY { background: white; color: black; font-family: arial,sans-serif; margin: 0; padding: 1ex; } TABLE { border-collapse: collapse; border-spacing: 0; border-width: 0; color: inherit; } TD { margin: 0; padding: 0; } DIV { border-width: 0; } DT { margin-top: 1em; } TH { background: #bbbbbb; color: inherit; padding: 0.4ex 1ex; text-align: left; } TH A:link, TH A:visited { background: transparent; color: black; } PRE { background: #dddddd; border: 1px solid black; color: black; padding-top: 1em; padding-bottom: 1em; white-space: pre; } H1 { background: transparent; color: #006699; font-size: large; } H2 { background: transparent; color: #006699; font-size: medium; } LI { line-height: 1.2em; list-style-type: none; }
cheers,
J
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: pod2html
by agarsha (Acolyte) on Jun 04, 2003 at 03:33 UTC |