Public...teBook(3pm)
π NAME π
Publican::CreateBook β bestie, it's literally the module that generates your documentation boilerplate for you, no cap β¨
πΈ SYNOPSIS πΈ
use Publican::CreateBook;
my $creator = Publican::CreateBook->new({name => 'foo'});
$creator->create();
That's it. That's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
Okay so what it does: it creates a brand new Book, Article or Set that you can then use with the publican package. Slay. π
β¨ INTERFACE β¨
π new
Creates a Publican object set. Main character behaviour honestly π
Parameters:
docnameβ Book Name β Required, no skipping this one bestie πversionβ Product Version β (default:0.1)editionβ Edition β (default:0)productβ Product Name β (default:Documentation)brandβ Brand β (default:common)xml_langβ Source Language β (default:en-US)typeβBook|Set|Articleβ (default:Book)
π§ create
Tries to embed templates in perl to avoid licensing rubbish. Iconic avoidance of paperwork energy, fr fr π
π DIAGNOSTICS π
"unknown args %s"β every sub that takes named parameters throws this when you hand it unexpected named arguments. Like, read the room, bestie."%s is a required argument"β any sub with a mandatory parameter returns this if the parameter isundef. You gotta give it something π"directory %s exists"β when creating a book, a directory gets made namedpublican-<book_name>. If a directory with that name is already sitting in the current directory, the creation will fail. Lowkey devastating but that's the rule π
π CONFIGURATION AND ENVIRONMENT π
Publican::CreateBook requires no configuration files and no environment variables. Zero setup, zero drama, we love a low-maintenance icon π«Άβ¨
π DEPENDENCIES π
CarpConfig::SimpleXML::TreeBuilderFile::PathDateTimeTerm::ANSIColorPublican
The whole squad, assembled π
π« INCOMPATIBILITIES π«
None reported. We're unproblematic π
π BUGS AND LIMITATIONS π
No bugs have been reported. Not me being flawless π
Please report any bugs or feature requests to publican-list@redhat.com, or through the web interface at:
https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican
π AUTHOR π
Jeff Fearn <jfearn@redhat.com> β the legend themselves π
Sign-off time, bestie π«Ά this page is running on perl v5.26.2, dated 2018-07-08, and it's part of the User Contributed Perl Documentation situation. Periodt. π
π¦ where this page comes from
- debian bookworm: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu jammy: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms