summaryrefslogtreecommitdiff
path: root/Build.PL
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2020-09-20 00:14:40 -0700
committerRuss Allbery <rra@cpan.org>2020-09-20 00:16:39 -0700
commitf52c1c24e19ea9a728292b099ff975927ec3f731 (patch)
tree213f1f72c22272a9c3033c1740602605df266a56 /Build.PL
parente2be047abb4bc7873ac9307f576cf9e514c133ac (diff)
Change the metadata format to YAML
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.)
Diffstat (limited to 'Build.PL')
-rw-r--r--Build.PL2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build.PL b/Build.PL
index 6ca1e39..f0a8edd 100644
--- a/Build.PL
+++ b/Build.PL
@@ -69,9 +69,11 @@ my $build = Module::Build->new(
'IPC::Run' => 0,
'IPC::System::Simple' => 0,
'JSON::MaybeXS' => 0,
+ 'Kwalify' => 0,
'List::SomeUtils' => 0,
'Perl6::Slurp' => 0,
'Template' => 0,
+ 'YAML::XS' => '0.81',
perl => '5.024',
},
test_requires => {