NAME

OODoc::Format::Pod3 - Produce POD pages using OODoc::Template

INHERITANCE

OODoc::Format::Pod3
  is a OODoc::Format::Pod
  is a OODoc::Format
  is a OODoc::Object

SYNOPSIS

my $doc = OODoc->new(...);
$doc->create
  ( 'pod3'   # or 'OODoc::Format::Pod3'
  , format_options => [show_examples => 'NO']
  );

DESCRIPTION

Create manual pages in the POD syntax, using the OODoc::Template template system.

OVERLOADED

METHODS

Constructors

OODoc::Format::Pod3->new(OPTIONS)

Inheritance knowledge

$obj->extends([OBJECT])

Attributes

$obj->manifest

$obj->project

$obj->version

$obj->workdir

Page generation

$obj->cleanup(MANUAL, STRING)

$obj->cleanupPOD(IN, OUT)

$obj->createManual(OPTIONS)

    Option        --Defined in     --Default
    append          OODoc::Format::Pod  ''
    format_options  OODoc::Format    []
    manual          OODoc::Format    <required>
    project         OODoc::Format    <required>
    template                         <in code>

    . append => STRING|CODE

    . format_options => ARRAY

    . manual => MANUAL

    . project => STRING

    . template => FILENAME

      The default template is included in the DATA segment of OODoc::Format::Pod3. You may start your own template by copying it to a file.

$obj->createOtherPages(OPTIONS)

$obj->formatManual(OPTIONS)

$obj->link(MANUAL, OBJECT, [TEXT])

$obj->removeMarkup(STRING)

$obj->showChapter(OPTIONS)

$obj->showChapterIndex(FILE, CHAPTER, INDENT)

$obj->showExamples(OPTIONS)

$obj->showOptionExpand(OPTIONS)

$obj->showOptionTable(OPTIONS)

$obj->showOptionUse(OPTIONS)

$obj->showOptionalChapter(NAME, OPTIONS)

$obj->showOptions(OPTIONS)

$obj->showRequiredChapter(NAME, OPTIONS)

$obj->showStructureExpanded(OPTIONS)

$obj->showStructureRefer(OPTIONS)

$obj->showSubroutine((@))

$obj->showSubroutineDescription(OPTIONS)

$obj->showSubroutineName(OPTIONS)

$obj->showSubroutineUse(OPTIONS)

$obj->showSubroutines(OPTIONS)

$obj->writeTable

Commonly used functions

$obj->filenameToPackage(FILENAME)

OODoc::Format::Pod3->filenameToPackage(FILENAME)

$obj->mkdirhier(DIRECTORY)

OODoc::Format::Pod3->mkdirhier(DIRECTORY)

Manual Repository

$obj->addManual(MANUAL)

$obj->mainManual(NAME)

$obj->manual(NAME)

$obj->manuals

$obj->manualsForPackage(NAME)

$obj->packageNames

Template processing

DETAILS

DIAGNOSTICS

Error: cannot read prelimary pod from $infn: $!

Error: cannot write final pod to $outfn: $!

Error: formatter does not know the version.

Error: formatter has no project name.

    A formatter was created without a name specified for the project at hand. This should be passed with new(project).

Error: manual definition requires manual object

Warning: missing required chapter $name in $manual

Error: no directory to put pod manual for $name in

Error: no package name for pod production

Error: no working directory specified.

    The formatter has to know where the output can be written. This directory must be provided via new(workdir), but was not specified.

Warning: unknown subroutine type $type for $name in $manual

SEE ALSO

This module is part of OODoc distribution version 1.03, built on March 14, 2008. Website: http://perl.overmeer.net/oodoc/

LICENSE

Copyrights 2003-2008 by Mark Overmeer. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html