[devdocsgjs/main: 1847/1867] Update Perl documentation (5.34.0)




commit 9f50c2cf49992f3960a135f32ab96a61efad2976
Author: Simon Legner <Simon Legner gmail com>
Date:   Mon Oct 25 17:49:40 2021 +0200

    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
-      &copy; 1993&ndash;2020 Larry Wall and others<br>
+      &copy; 1993&ndash;2021 Larry Wall and others<br>
       Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>
       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}/";


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]