pod2thread

(Convert POD data to the HTML macro language thread.)

SYNOPSIS

pod2thread [-chn] [-s style] [-t title] [input [output]]

DESCRIPTION

pod2thread is a front-end for Pod::Thread and its subclasses. It uses that module to generate thread source from POD source.

input is the file to read for POD source (the POD can be embedded in code). If input isn't given, it defaults to STDIN. output, if given, is the file to which to write the thread output. If output isn't given, the output is written to STDOUT.

OPTIONS

-c, --contents

Generate a table of contents as the first section of the resulting thread file, with links to each top-level heading.

-n, --navbar

Generate a navigation bar at the top of the resulting thread file, with links to each top-level heading.

-h, --help

Print out usage information and exit.

-s style, --style=style

In the generated thread source, include a reference to the style sheet style. If this option is not given, no style sheet reference will be included.

-t title, --title=title

Use title as the title of the page rather than looking for a NAME section in the POD document.

DIAGNOSTICS

If pod2thread fails with errors, see Pod::Thread and Pod::Simple for information about what those errors might mean. Internally, it can also produce the following diagnostic:

Unknown option: %s

(F) An unknown command line option was given.

In addition, other Getopt::Long error messages may result from invalid command-line options.

AUTHOR

Russ Allbery <rra@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2002, 2013, 2021 Russ Allbery <rra@cpan.org>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

SEE ALSO

Pod::Simple, Pod::Thread, spin(1)

This program is part of the Pod-Thread distribution. The current version of Pod-Thread is available from CPAN, or directly from its web site at <https://www.eyrie.org/~eagle/software/pod-thread/>.

spin is available from <https://www.eyrie.org/~eagle/software/web/>.

Last modified and spun 2021-06-14