History

angularjs: add version 1.8

Simon Legner committed 6 years ago

Commit 67df9e21 parent 0dfe62b2 files · +10 −5Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +3 −3
  2. lib/docs/scrapers/angularjs.rb +7 −2
assets/javascripts/templates/pages/about_tmpl.coffee+3−3
@@ -83,9 +83,9 @@ app.templates.aboutPage = -> """ · 82 unmodified lines
83 83
84credits = [84credits = [
85 [ 'Angular<br>Angular.js',85 [ 'Angular<br>Angular.js',
86 '2010-2019 Google, Inc.',86 '2010-2020 Google, Inc.',
87 'CC BY',87 'CC BY 3.0',
88 'https://creativecommons.org/licenses/by/4.0/'88 'https://creativecommons.org/licenses/by/3.0/'
89 ], [89 ], [
90 'Ansible',90 'Ansible',
91 '2012-2018 Michael DeHaan<br>&copy; 2018–2019 Red Hat, Inc.',91 '2012-2018 Michael DeHaan<br>&copy; 2018–2019 Red Hat, Inc.',
lib/docs/scrapers/angularjs.rb+7−2
@@ -38,8 +38,8 @@ module Docs · 37 unmodified lines
38 ]38 ]
39 39
40 options[:attribution] = <<-HTML40 options[:attribution] = <<-HTML
41 &copy; 2010&ndash;2018 Google, Inc.<br>41 &copy; 2010&ndash;2020 Google, Inc.<br>
42 Licensed under the Creative Commons Attribution License 4.0.42 Licensed under the Creative Commons Attribution License 3.0.
43 HTML43 HTML
44 44
45 stub '' do45 stub '' do
@@ -49,6 +49,11 @@ module Docs · 3 unmodified lines
49 capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")49 capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")
50 end50 end
51 51
52 version '1.8' do
53 self.release = '1.8.2'
54 self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"
55 end
56
52 version '1.7' do57 version '1.7' do
53 self.release = '1.7.8'58 self.release = '1.7.8'
54 self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"59 self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"