POD2DOCBOOK(1p)
β¨ NAME β¨
okay so bestie, welcome to the pod2docbook era π
this is the POD2DOCBOOK(1p) page from the User Contributed Perl Documentation collection, and what it does is convert POD data to DocBook SGML. that's the whole vibe. no notes. π
π¦ SYNOPSIS π¦
pod2docbook [--help] [--doctype=article|chapter|section|refentry]
[--title=title] [--spaces=# spaces per indent level]
[--fix-double-quotes] [--no-header] [--base-id=idstring]
[infile [outfile]]
π DESCRIPTION π
so like, pod2docbook takes files in pod format (peep perlpod for the tea β) and turns them into DocBook 4.2 SGML (more on that at http://www.docbook.org/). glow-up complete. β¨
but ngl, the program itself is merely a driver for the Pod::2::DocBook class π«Ά so if you're the kind of bestie who wants the details of pod-to-SGML translation, go read Pod::2::DocBook. it's giving main character energy over there. π
πΈ OPTIONS AND ARGUMENTS πΈ
--helpβ prints the usage and dips out. that's it, that's the whole job π--doctype=article|chapter|section|refentryβ picks the document type for the output file. the default issection. choose your fighter bestie π--title=titleβ sets the document title. the default isinfileif one got supplied, or an empty string if not. lowkey tragic when it's empty but okay π--spaces=# spaces per indent levelβ how many spaces go per indent level in the SGML output. default is2. tidy queen behavior β¨--fix-double-quotesβ swaps pairs of double quotes in regular paragraphs for<quote>and</quote>. (seePod::2::DocBookfor the deets) π¦--no-headerβ omits theDOCTYPEline from the output. bye felicia πinfileβ the name of the file to read pod source from. if you don't supply it,STDINis used for input. π«Άoutfileβ the name of the file to write SGML to. if you don't supply it,STDOUTis used for output. β--base-id=idstringβ the root element of the--doctypegetsidstringset for the attributeid. the default is an input file name "cleaned up" to conform with XML restriction for characteds used in id strings. (SEEhttp://www.w3.org/TR/2000/REC-xml-20001006#NT-Name) π
π SEE ALSO π
pod2docbookperlpodPod::DocBook- SVN repo β
https://cle.sk/repos/pub/cpan/Pod-2-DocBook/ http://www.ohloh.net/projects/pod-2-docbookdoc/+examples/pod2docbook-docbook/forPod::2::DocBookDocBook documentation
DocBook related links, bestie, go click these:
http://www.docbook.org/http://www.sagehill.net/docbookxsl/http://developers.cogentrts.com/cogent/prepdoc/pd-axfrequentlyuseddocbooktags.html
π AUTHOR π
Alligator Descartes <descarte@symbolstone.org> wrote a module called Pod::2::DocBook, which was later maintained by Jan Iven <jan.iven@cern.ch>. that module was based on the original pod2html by Tom Christiansen <tchrist@mox.perl.com>. lineage? immaculate. π§¬β¨
Nandu Shah <nandu@zvolve.com> wrote Pod::DocBook, which is unrelated to the previous module (even though they both perform the same function). (http://search.cpan.org/~nandu/Pod-DocBook-1.2/) two icons, same job, no drama π
Jozef Kutej <jkutej@cpan.org> renamed the module to Pod::2::DocBook because Nandu's version was buried in the CPAN archive as an "UNAUTHORIZED RELEASE". π we do not talk about the archive depths.
π COPYRIGHT π
Copyright 2004, Nandu Shah <nandu@zvolve.com>
Copyright 2008, Jozef Kutej <jkutej@cpan.org>
This library is free software; you may redistribute it and/or modify it under the same terms as Perl itself. slay, open source, periodt. π«Άπ
and that's the whole page bestie!! this one came from perl v5.30.0, dated 2020-05-17, and it lives at POD2DOCBOOK(1p) β mwah, go convert something pretty ππ
π¦ where this page comes from
- debian bookworm: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-2-docbook-perl 0.03-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms