History

Update Perl documentation (5.34.0)

Simon Legner committed 5 years ago

Commit 9f50c2c1 parent 42ae1882 files · +7 −3Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/scrapers/perl.rb +6 −2
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -618,7 +618,7 @@ credits = [ · 617 unmodified lines
618618 'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE'
619619 ], [
620620 'Perl',
621− '1993-2020 Larry Wall and others',
621+ '1993-2021 Larry Wall and others',
622622 'GPLv1',
623623 'https://perldoc.perl.org/index-licence.html'
624624 ], [
lib/docs/scrapers/perl.rb+6−2
@@ -2,7 +2,6 @@ module Docs · 1 unmodified line
22 class Perl < UrlScraper
33 self.name = 'Perl'
44 self.type = 'perl'
5−# self.root_path = 'index.html'
65 self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html']
76 self.links = {
87 home: 'https://www.perl.org/'
@@ -20,11 +19,16 @@ module Docs · 11 unmodified lines
2019 options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/]
2120
2221 options[:attribution] = <<-HTML
23− &copy; 1993&ndash;2020 Larry Wall and others<br>
22+ &copy; 1993&ndash;2021 Larry Wall and others<br>
2423 Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>
2524 The Perl logo is a trademark of the Perl Foundation.
2625 HTML
2726
27+ version '5.34' do
28+ self.release = '5.34.0'
29+ self.base_url = "https://perldoc.perl.org/#{self.release}/"
30+ end
31+
2832 version '5.32' do
2933 self.release = '5.32.0'
3034 self.base_url = "https://perldoc.perl.org/#{self.release}/"