[devdocsgjs/main: 1097/1867] angularjs: add version 1.8




commit 67df9e296efec7d564f7f70383a5de25b2d1758f
Author: Simon Legner <Simon Legner gmail com>
Date:   Fri Nov 13 00:39:58 2020 +0100

    angularjs: add version 1.8

 assets/javascripts/templates/pages/about_tmpl.coffee | 6 +++---
 lib/docs/scrapers/angularjs.rb                       | 9 +++++++--
 2 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee 
b/assets/javascripts/templates/pages/about_tmpl.coffee
index f0cc4c5d..4aa5f185 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -83,9 +83,9 @@ app.templates.aboutPage = -> """
 
 credits = [
   [ 'Angular<br>Angular.js',
-    '2010-2019 Google, Inc.',
-    'CC BY',
-    'https://creativecommons.org/licenses/by/4.0/'
+    '2010-2020 Google, Inc.',
+    'CC BY 3.0',
+    'https://creativecommons.org/licenses/by/3.0/'
   ], [
     'Ansible',
     '2012-2018 Michael DeHaan<br>&copy; 2018–2019 Red Hat, Inc.',
diff --git a/lib/docs/scrapers/angularjs.rb b/lib/docs/scrapers/angularjs.rb
index 4e563c82..07c3fe1e 100644
--- a/lib/docs/scrapers/angularjs.rb
+++ b/lib/docs/scrapers/angularjs.rb
@@ -38,8 +38,8 @@ module Docs
     ]
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2018 Google, Inc.<br>
-      Licensed under the Creative Commons Attribution License 4.0.
+      &copy; 2010&ndash;2020 Google, Inc.<br>
+      Licensed under the Creative Commons Attribution License 3.0.
     HTML
 
     stub '' do
@@ -49,6 +49,11 @@ module Docs
       capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")
     end
 
+    version '1.8' do
+      self.release = '1.8.2'
+      self.base_url = "https://code.angularjs.org/#{release}/docs/partials/";
+    end
+
     version '1.7' do
       self.release = '1.7.8'
       self.base_url = "https://code.angularjs.org/#{release}/docs/partials/";


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