1*f2a19305Safresh1# Package metadata for podlators.
2*f2a19305Safresh1#
3*f2a19305Safresh1# This file contains configuration for DocKnot used to generate
4*f2a19305Safresh1# documentation files (like README.md) and web pages.  Other documentation
5*f2a19305Safresh1# in this package is generated automatically from these files as part of
6*f2a19305Safresh1# the release process.  For more information, see DocKnot's documentation.
7*f2a19305Safresh1#
8*f2a19305Safresh1# DocKnot is available from <https://www.eyrie.org/~eagle/software/docknot/>.
9*f2a19305Safresh1#
10*f2a19305Safresh1# Copyright 1999-2010, 2012-2022 Russ Allbery <rra@cpan.org>
11*f2a19305Safresh1#
12*f2a19305Safresh1# SPDX-License-Identifier: MIT
13*f2a19305Safresh1
14*f2a19305Safresh1format: v1
15*f2a19305Safresh1
16*f2a19305Safresh1name: podlators
17*f2a19305Safresh1maintainer: Russ Allbery <rra@cpan.org>
18*f2a19305Safresh1version: '5.01'
19*f2a19305Safresh1synopsis: format POD source into various output formats
20*f2a19305Safresh1
21*f2a19305Safresh1license:
22*f2a19305Safresh1  name: Perl
23*f2a19305Safresh1copyrights:
24*f2a19305Safresh1  - holder: Russ Allbery <rra@cpan.org>
25*f2a19305Safresh1    years: 1999-2010, 2012-2022
26*f2a19305Safresh1
27*f2a19305Safresh1build:
28*f2a19305Safresh1  type: ExtUtils::MakeMaker
29*f2a19305Safresh1distribution:
30*f2a19305Safresh1  cpan: podlators
31*f2a19305Safresh1  section: perl
32*f2a19305Safresh1  tarname: podlators
33*f2a19305Safresh1  version: podlators
34*f2a19305Safresh1support:
35*f2a19305Safresh1  email: rra@cpan.org
36*f2a19305Safresh1  github: rra/podlators
37*f2a19305Safresh1  web: https://www.eyrie.org/~eagle/software/podlators/
38*f2a19305Safresh1vcs:
39*f2a19305Safresh1  browse: https://git.eyrie.org/?p=perl/podlators.git
40*f2a19305Safresh1  github: rra/podlators
41*f2a19305Safresh1  openhub: https://www.openhub.net/p/podlators
42*f2a19305Safresh1  status:
43*f2a19305Safresh1    workflow: build
44*f2a19305Safresh1  type: Git
45*f2a19305Safresh1  url: https://git.eyrie.org/git/perl/podlators.git
46*f2a19305Safresh1
47*f2a19305Safresh1quote:
48*f2a19305Safresh1  author: Robert Fripp
49*f2a19305Safresh1  text: |
50*f2a19305Safresh1    We move from making unnecessary efforts, the exertions of force, to making
51*f2a19305Safresh1    necessary efforts: the direction of effortlessness.  In this the prime
52*f2a19305Safresh1    maxim is: honor necessity, honor sufficiency.
53*f2a19305Safresh1  work: '"The Road to Graceland"'
54*f2a19305Safresh1docs:
55*f2a19305Safresh1  api:
56*f2a19305Safresh1    - name: pod-man
57*f2a19305Safresh1      title: Pod::Man
58*f2a19305Safresh1    - name: pod-text
59*f2a19305Safresh1      title: Pod::Text
60*f2a19305Safresh1    - name: pod-text-color
61*f2a19305Safresh1      title: Pod::Text::Color
62*f2a19305Safresh1    - name: pod-text-overstrike
63*f2a19305Safresh1      title: Pod::Text::Overstrike
64*f2a19305Safresh1    - name: pod-text-termcap
65*f2a19305Safresh1      title: Pod::Text::Termcap
66*f2a19305Safresh1  developer:
67*f2a19305Safresh1    - name: todo
68*f2a19305Safresh1      title: To-do list
69*f2a19305Safresh1  user:
70*f2a19305Safresh1    - name: perlpodstyle
71*f2a19305Safresh1      title: POD style guide
72*f2a19305Safresh1    - name: pod2man
73*f2a19305Safresh1      title: pod2man documentation
74*f2a19305Safresh1    - name: pod2text
75*f2a19305Safresh1      title: pod2text documentation
76*f2a19305Safresh1    - name: thanks
77*f2a19305Safresh1      title: Thanks and credits
78*f2a19305Safresh1
79*f2a19305Safresh1blurb: |
80*f2a19305Safresh1  podlators contains Pod::Man and Pod::Text modules which convert POD input to
81*f2a19305Safresh1  *roff source output, suitable for man pages, or plain text.  It also
82*f2a19305Safresh1  includes several subclasses of Pod::Text for formatted output to terminals
83*f2a19305Safresh1  with various capabilities.  It is the source package for the Pod::Man and
84*f2a19305Safresh1  Pod::Text modules included with Perl.
85*f2a19305Safresh1
86*f2a19305Safresh1description: |
87*f2a19305Safresh1  POD is the Plain Old Documentation format, the documentation language used
88*f2a19305Safresh1  for all of Perl's documentation.  I learned it to document Perl modules,
89*f2a19305Safresh1  started using it for Perl scripts as well, and discovered it was the most
90*f2a19305Safresh1  convenient way I've found to write program documentation.  It's extremely
91*f2a19305Safresh1  simple, well-designed for writing Unix manual pages (and I'm a
92*f2a19305Safresh1  traditionalist who thinks that any program should have a regular manual
93*f2a19305Safresh1  page), and easily readable in the raw format by humans.
94*f2a19305Safresh1
95*f2a19305Safresh1  The translators into text and nroff (for manual pages) included in the Perl
96*f2a19305Safresh1  distribution had various bugs, however, and used their own ad hoc parsers,
97*f2a19305Safresh1  so when I started running into those bugs and when a new generic parser
98*f2a19305Safresh1  (Pod::Parser) was written, I decided to rewrite the two translators that I
99*f2a19305Safresh1  use the most and fix the bugs that were bothering me.  This package is the
100*f2a19305Safresh1  result.
101*f2a19305Safresh1
102*f2a19305Safresh1  podlators contains two main modules, Pod::Man and Pod::Text.  The former
103*f2a19305Safresh1  converts POD into nroff/troff source and the latter into plain text (with
104*f2a19305Safresh1  various options controlling some of the formatting).  There are also several
105*f2a19305Safresh1  subclasses of Pod::Text for generating slightly formatted text using color
106*f2a19305Safresh1  or other terminal control escapes, and a general utility module,
107*f2a19305Safresh1  Pod::ParseLink, for parsing the POD `L<>` formatting sequences.  Also
108*f2a19305Safresh1  included in this package are the `pod2text` and `pod2man` driver scripts.
109*f2a19305Safresh1
110*f2a19305Safresh1  Both Pod::Text and Pod::Man provide a variety of options for fine-tuning
111*f2a19305Safresh1  their output.  Pod::Man also tries to massage input text where appropriate
112*f2a19305Safresh1  to produce better output when run through nroff or troff, such as
113*f2a19305Safresh1  distinguishing between different types of hyphens.
114*f2a19305Safresh1
115*f2a19305Safresh1  As of Perl 5.6.0, my implementation was included in Perl core, and each
116*f2a19305Safresh1  release of Perl will have the at-the-time most current version of podlators
117*f2a19305Safresh1  included.  You therefore only need to install this package yourself if you
118*f2a19305Safresh1  need a newer version than came with Perl (to get some bug fixes, for
119*f2a19305Safresh1  example).
120*f2a19305Safresh1
121*f2a19305Safresh1requirements: |
122*f2a19305Safresh1  This module requires Perl 5.10 or later and Pod::Simple 3.26 or later.
123*f2a19305Safresh1  (Pod::Simple 3.26 was included in Perl 5.17.10.)
124*f2a19305Safresh1
125*f2a19305Safresh1  The troff/nroff generated by Pod::Man should be compatible with any troff or
126*f2a19305Safresh1  nroff implementation with the `-man` macro set, including mandoc.  It is
127*f2a19305Safresh1  primarily tested by me under GNU groff, but Perl users send bug reports for
128*f2a19305Safresh1  a wide variety of implementations and Pod::Man is used to generate all of
129*f2a19305Safresh1  Perl's own manual pages, so hopefully most of the bugs have been weeded out.
130*f2a19305Safresh1
131*f2a19305Safresh1test:
132*f2a19305Safresh1  lancaster: true
133*f2a19305Safresh1  suffix: |
134*f2a19305Safresh1    The following additional Perl modules will be used by the test suite if
135*f2a19305Safresh1    present:
136*f2a19305Safresh1
137*f2a19305Safresh1    * Test::CPAN::Changes (part of CPAN-Changes)
138*f2a19305Safresh1    * Test::MinimumVersion
139*f2a19305Safresh1    * Test::Pod
140*f2a19305Safresh1    * Test::Spelling
141*f2a19305Safresh1    * Test::Strict
142*f2a19305Safresh1    * Test::Synopsis
143*f2a19305Safresh1
144*f2a19305Safresh1    All are available on CPAN.  Those tests will be skipped if the modules are
145*f2a19305Safresh1    not available.
146