-
-
03 Oct 2005 06:28:27 UTC
- Distribution: DocSet
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (453 / 0 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: unknown
- Activity
24 month- Tools
- Download (367.76KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- HTML::Parser
- Pod::POM
- Storable
- Template
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
DocSet::Doc::POD2HTML
- POD source to HTML target converterSYNOPSIS
DESCRIPTION
Implements an
DocSet::Doc
sub-class which converts a source document in POD, into an output document in HTML.METHODS
For the rest of the super class methods see
DocSet::Doc
.convert
Rendering Class
documents using this class are rendered via
DocSet::Doc::POD2HTML::View::HTML
, which is a subclass ofPod::POM::View::HTML
.view_head{1-4}()
are overridden to add the <a name> anchors next to the headers for proper hyperlinking.view_seq_file() is overriden too. Here we search for the file relative to the location of the document and if we find it we link to it otherwise the default behaviour applies (the file path is turned into italics).
view_verbatim() is overriden: renders the <pre>...</pre> html, but defines a CSS class
pre-section
so the look-n-feel can be adjusted.The following rendering methods: anchor() and view_seq_link_transform_path() are defined in the
DocSet::Doc::Common
class and documented there.AUTHORS
Stas Bekman <stas (at) stason.org>
Module Install Instructions
To install DocSet, copy and paste the appropriate command in to your terminal.
cpanm DocSet
perl -MCPAN -e shell install DocSet
For more information on module installation, please visit the detailed CPAN module installation guide.