summaryrefslogtreecommitdiff
path: root/t/data
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2021-09-09 12:32:37 -0700
committerRuss Allbery <rra@cpan.org>2021-09-09 12:32:37 -0700
commitddbbdc7f480aa390be5a2d1da2d98e1ef251a7c4 (patch)
tree0768cb9435af23c0094b50714cb983a7ea821ea1 /t/data
parent3c2d6a92020fdf7a1594608b885f6b7ac36a1e98 (diff)
Split off App::DocKnot::Spin::Thread
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.
Diffstat (limited to 't/data')
-rw-r--r--t/data/generate/docknot/output/thread6
-rw-r--r--t/data/perl.conf2
-rwxr-xr-xt/data/regenerate-data4
3 files changed, 8 insertions, 4 deletions
diff --git a/t/data/generate/docknot/output/thread b/t/data/generate/docknot/output/thread
index b5dfbe8..cb8c5d0 100644
--- a/t/data/generate/docknot/output/thread
+++ b/t/data/generate/docknot/output/thread
@@ -177,6 +177,10 @@ development source].
\doc[api/app-docknot-config.html][App::DocKnot::Config]
\doc[api/app-docknot-dist.html][App::DocKnot::Dist]
\doc[api/app-docknot-generate.html][App::DocKnot::Generate]
+ \doc[api/app-docknot-spin.html][App::DocKnot::Spin]
+ \doc[api/app-docknot-spin-sitemap.html][App::DocKnot::Spin::Sitemap]
+ \doc[api/app-docknot-spin-thread.html][App::DocKnot::Spin::Thread]
+ \doc[api/app-docknot-spin-versions.html][App::DocKnot::Spin::Versions]
\doc[api/app-docknot-update.html][App::DocKnot::Update]
]
@@ -187,7 +191,7 @@ license:
\block[
- Copyright 2013-2021
+ Copyright 1999-2011, 2013-2021
Russ Allbery <rra@cpan.org>
Permission is hereby granted, free of charge, to any person obtaining
diff --git a/t/data/perl.conf b/t/data/perl.conf
index e795423..ae60011 100644
--- a/t/data/perl.conf
+++ b/t/data/perl.conf
@@ -12,7 +12,7 @@ $MINIMUM_VERSION = '5.024';
# Additional regexes that match methods that should be considered private and
# therefore don't have to be documented in POD coverage.
-@POD_COVERAGE_EXCLUDE = (qr{ ^ (?: new | spin_file | spin_tree ) \z }xms);
+@POD_COVERAGE_EXCLUDE = (qr{ \A spin_fh \z }xms);
# File must end with this line.
1;
diff --git a/t/data/regenerate-data b/t/data/regenerate-data
index dc9fbb3..4aa8ba7 100755
--- a/t/data/regenerate-data
+++ b/t/data/regenerate-data
@@ -53,14 +53,14 @@ for my $package (@packages) {
# changed.
my $source = File::Spec->catdir('lib', 'App', 'DocKnot.pm');
my $podthread = Pod::Thread->new(navbar => 1);
-my $spin = App::DocKnot::Spin->new();
+my $spin = App::DocKnot::Spin::Thread->new();
my $thread;
$podthread->output_string(\$thread);
$podthread->parse_file($source);
my $html;
open(my $in_fh, '<', \$thread);
open(my $out_fh, '>', \$html);
-$spin->_spin($in_fh, q{-}, $out_fh, q{-});
+$spin->spin_fh($in_fh, q{-}, $out_fh, q{-});
close($in_fh);
close($out_fh);