From 9f50c2cf49992f3960a135f32ab96a61efad2976 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Mon, 25 Oct 2021 17:49:40 +0200 Subject: [PATCH] Update Perl documentation (5.34.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/perl.rb | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 9007fef6..b6fa213e 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -618,7 +618,7 @@ credits = [ 'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE' ], [ 'Perl', - '1993-2020 Larry Wall and others', + '1993-2021 Larry Wall and others', 'GPLv1', 'https://perldoc.perl.org/index-licence.html' ], [ diff --git a/lib/docs/scrapers/perl.rb b/lib/docs/scrapers/perl.rb index 90844c47..a98ced4b 100644 --- a/lib/docs/scrapers/perl.rb +++ b/lib/docs/scrapers/perl.rb @@ -2,7 +2,6 @@ module Docs class Perl < UrlScraper self.name = 'Perl' self.type = 'perl' -# self.root_path = 'index.html' self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html'] self.links = { home: 'https://www.perl.org/' @@ -20,11 +19,16 @@ module Docs options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/] options[:attribution] = <<-HTML - © 1993–2020 Larry Wall and others
+ © 1993–2021 Larry Wall and others
Licensed under the GNU General Public License version 1 or later, or the Artistic License.
The Perl logo is a trademark of the Perl Foundation. HTML + version '5.34' do + self.release = '5.34.0' + self.base_url = "https://perldoc.perl.org/#{self.release}/" + end + version '5.32' do self.release = '5.32.0' self.base_url = "https://perldoc.perl.org/#{self.release}/"