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
618 'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE'618 'https://raw.githubusercontent.com/pydata/pandas/master/LICENSE'
619 ], [619 ], [
620 'Perl',620 'Perl',
621 '1993-2020 Larry Wall and others',621 '1993-2021 Larry Wall and others',
622 'GPLv1',622 'GPLv1',
623 'https://perldoc.perl.org/index-licence.html'623 'https://perldoc.perl.org/index-licence.html'
624 ], [624 ], [
lib/docs/scrapers/perl.rb+6−2
@@ -2,7 +2,6 @@ module Docs · 1 unmodified line
2 class Perl < UrlScraper2 class Perl < UrlScraper
3 self.name = 'Perl'3 self.name = 'Perl'
4 self.type = 'perl'4 self.type = 'perl'
5# self.root_path = 'index.html'
6 self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html']5 self.initial_paths = ['modules.html', 'perlutil.html', 'perl.html']
7 self.links = {6 self.links = {
8 home: 'https://www.perl.org/'7 home: 'https://www.perl.org/'
@@ -20,11 +19,16 @@ module Docs · 11 unmodified lines
20 options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/]19 options[:skip_patterns] = [/\Afunctions/, /\Avariables/, /\.pdf/, /delta/]
21 20
22 options[:attribution] = <<-HTML21 options[:attribution] = <<-HTML
23 &copy; 1993&ndash;2020 Larry Wall and others<br>22 &copy; 1993&ndash;2021 Larry Wall and others<br>
24 Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>23 Licensed under the GNU General Public License version 1 or later, or the Artistic License.<br>
25 The Perl logo is a trademark of the Perl Foundation.24 The Perl logo is a trademark of the Perl Foundation.
26 HTML25 HTML
27 26
27 version '5.34' do
28 self.release = '5.34.0'
29 self.base_url = "https://perldoc.perl.org/#{self.release}/"
30 end
31
28 version '5.32' do32 version '5.32' do
29 self.release = '5.32.0'33 self.release = '5.32.0'
30 self.base_url = "https://perldoc.perl.org/#{self.release}/"34 self.base_url = "https://perldoc.perl.org/#{self.release}/"