summaryrefslogtreecommitdiff
path: root/lib/App/DocKnot/Command.pm
Commit message (Collapse)AuthorAge
* Release 7.01Russ Allbery2022-01-19
|
* DocKnot release 7.00Russ Allbery2022-01-17
|
* Fix import error when running docknot releaseRuss Allbery2022-01-15
|
* Release 6.01Russ Allbery2022-01-15
|
* Add docknot release commandRuss Allbery2022-01-11
| | | | | | | | Add new docknot release command and corresponding App::DocKnot::Release module to copy a tarball releaes (normally created by docknot dist) into a release area, update symlinks, archive any previous releases, and update the .versions file used by docknot spin. DocKnot now depends on Sort::Versions.
* Add new docknot update-spin commandRuss Allbery2022-01-02
| | | | | | | Add new docknot update-spin command and corresponding update_spin method in App::DocKnot::Update to update a spin input tree to the latest expectations. Currently, all this does is convert *.rpod pointer files to *.spin pointer files.
* Use Path::Tiny and Path::Iterator::RuleRuss Allbery2021-12-31
| | | | | | docknot spin now uses Path::Iterator::Rule and Path::Tiny to construct its paths, which eliminates the need to change the working directory while processing input files.
* Release 6.00Russ Allbery2021-12-25
|
* Support POD conversion via *.spin pointersRuss Allbery2021-12-25
| | | | | | | | | | | | Support *.spin pointers in addition to *.rpod pointers for external POD files. The command-line flags used in *.rpod pointers are replaced by the title and options key of the *.spin file. *.rpod files are deprecated and support will be removed in a future version of DocKnot. Add spin_thread_output method to App::DocKnot::Spin::Thread, intended to convert thread to HTML as part of a conversion pipeline of a non-thread input file, while still using sitemap information and generating the page footer. DocKnot now depends on Path::Tiny.
* Reformat codeRuss Allbery2021-12-24
| | | | | | | Adopt the new -nvc option in Perl::Tidy 20211029 to disable the intrusive vertical alignment formatting. Unfortunately, this breaks all vertical alignment formatting, even when desired, so work around that in a few places with special comments.
* Fix localization of RSS datesRuss Allbery2021-09-14
| | | | | | Fix unintended localization of dates in RSS output, which are supposed to be RFC 2822 dates and therefore always use English month and day of week names. Thanks to Slaven Rezić for testing.
* Release 5.00Russ Allbery2021-09-12
|
* Fix warning handling from spinning threadRuss Allbery2021-09-10
| | | | | | Teach App::DocKnot::Command to rewrite warnings as well as errors to add the invoked command, and rely on that for warnings from App::DocKnot::Spin::Thread.
* Add spin-rss, rename spin-file to spin-threadRuss Allbery2021-09-10
| | | | | | | Add a spin-rss command to run App::DocKnot::Spin::RSS on a single file outside of recursive processing, and rename spin-file to spin-thread, setting up a convention for handling other types of conversion.
* Support spinning a scalar of threadRuss Allbery2021-09-09
| | | | | | | This should be the last major API change for now. Get rid of spin_fh and change the interface to App::DocKnot::Spin::Thread to spin_thread (which takes a scalar) and spin_thread_file (which takes an input file and optional output file).
* Split off App::DocKnot::Spin::ThreadRuss Allbery2021-09-09
| | | | | | | Move the thread processing into its own module separate from the machinery to drive the recursive site generation. Update the documentation, remove duplicate documentation, and move the thread language documentation into App::DocKnot::Spin::Thread.
* Move spin file stack into module stateRuss Allbery2021-09-06
| | | | | | | Move $FILE and @FILES into module state. Add a test of \include to the test suite, and use it to test handling of pages that don't appear in the sitemap and images that aren't found on the file system.
* Fix command plumbing for spin and spin-fileRuss Allbery2021-09-06
| | | | | | | | | | | | | Plumb spin and spin-file through App::DocKnot::Command to the docknot frontend again. Add documentation for those commands and their options. Add a test for the command-line interface to ensure that plumbing keeps working in the future. Move the logic to compare a tree of spun files into the Test::DocKnot::Spin module so that it can be shared between the command-line test and the API test. Add the test library modules to POD syntax and spelling checks.
* Move spin to App::DocKnot::SpinRuss Allbery2021-07-18
| | | | | | | Convert the spin program to a module and do the absolute minimum work required to make tests pass, mostly by skipping a bunch of tests. This is not yet a well-behaved module and may not actually work.
* Don't explicitly depend on Pod::UsageRuss Allbery2021-02-27
| | | | | Pod::Usage comes with Perl core, so follow the normal convention of not calling out that dependency explicitly.
* docknot dist no longer requires --distdirRuss Allbery2021-02-27
| | | | Update App::DocKnot::Command and the cli/errors test accordingly.
* Release 4.01Russ Allbery2021-02-27
|
* Fix alphabetization of IO::Uncompress::GunzipRuss Allbery2021-02-27
| | | | This comes after IO::Compress::Xz.
* Various documentation cleanupsRuss Allbery2021-02-27
| | | | | | | | | Fix left-over documentation references to the old metatada path. Refer to DocKnot rather than App::DocKnot as the canonical name of the package, and reference the App-DocKnot distribution in the docknot man page. Add a few more cross-references to the module documentation pages. Flesh out some of the documentation about tarball signing. Update the synopsis of the docknot man page.
* Fix docknot --help, do some post-YAML cleanupRuss Allbery2021-02-27
| | | | | | | | | | | Remove the load_appdata_json helper function from App::DocKnot. This is no longer used now that all DocKnot data is in YAML. Properly depend on and import Pod::Usage so that docknot --help works. Correct the REQUIREMENTS sections of the module documentation to reflect new dependencies and the removal of a JSON dependency from most of DocKnot.
* Add global config file, PGP signing supportRuss Allbery2021-02-27
| | | | | | | | | | | | | | | | DocKnot now supports a global configuration file. The default location is $HOME/.config/docknot/config.yaml, but it honors the XDG environment variables. Currently, this configuration file can be used to set the distribution directory and signing PGP key for docknot dist. docknot dist can now optionally sign distribution tarballs with GnuPG after they have been generated. To request signing, use the --pgp-key command-line option or set pgp_key in the new global configuration file. The -d option to docknot dist is now optional if distdir is set in DocKnot's global configuration file.
* Release 4.00Russ Allbery2020-12-25
|
* Drop code support in App::DocKnot::CommandRuss Allbery2020-12-24
| | | | | This is no longer used by any of the subcommands and I don't plan to use it in the future, so simplify the logic.
* Remove $self and $class from method commentsRuss Allbery2020-12-24
| | | | | There's no reason to reiterate the parameter definitions of these for every instance or class method.
* Change the metadata format to YAMLRuss Allbery2020-09-20
| | | | | | | | | | | | | | | | | | Change the metadata format to a single YAML file, with a slightly different internal representation, whose default location is docs/docknot.yaml. The new docknot update command (or the App::DocKnot::Update module) will convert from the old JSON format. The new metadata format is checked against a schema when read. DocKnot now depends on YAML::XS and Kwalify. Word wrap numeric lists and, in Markdown output, quoted paragraphs. Previously these preserved the original spacing from the input text snippets. Require paragraphs be indented by at least six spaces, not five, to be treated as verbatim paragraphs and left unwrapped. (Markdown paragraphs can still use four spaces because they are wrapped in markup lines.)
* Release 3.05Russ Allbery2020-08-09
|
* Release 3.04Russ Allbery2020-05-16
|
* Release 3.03Russ Allbery2020-01-19
|
* Release 3.02Russ Allbery2020-01-08
|
* Release 3.01Russ Allbery2019-07-14
|
* Use App::DocKnot::Dist in App::DocKnot::CommandRuss Allbery2019-06-29
|
* Release 3.00Russ Allbery2019-06-29
|
* Add docknot dist commandRuss Allbery2019-06-26
| | | | | Add new docknot dist command and App::DocKnot::Dist module, which runs appropriate commands to create a distribution tarball.
* Separate App::DocKnot::Command, add base App::DocKnotRuss Allbery2019-03-16
Move the entry point for command-line commands from App::DocKnot to App::DocKnot::Command. The App::DocKnot module now only provides some helper methods to load application data, used by both App::DocKnot::Config and App::DocKnot::Generate. It's no longer necessary to explicitly load App::DocKnot before using one of the submodules.