[devdocsgjs/main: 747/1867] angularjs: add version 1.7.8




commit 6cc1d87e951a73452cd60aec8ccb3cb19794bf39
Author: Simon Legner <Simon Legner gmail com>
Date:   Wed Aug 7 15:35:57 2019 +0200

    angularjs: add version 1.7.8

 lib/docs/scrapers/angularjs.rb | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/lib/docs/scrapers/angularjs.rb b/lib/docs/scrapers/angularjs.rb
index 9d663e35..4e563c82 100644
--- a/lib/docs/scrapers/angularjs.rb
+++ b/lib/docs/scrapers/angularjs.rb
@@ -31,10 +31,14 @@ module Docs
     end
 
     options[:only_patterns] = [%r{\Aapi}, %r{\Aguide}]
-    options[:skip] = %w(api/ng.html)
+    options[:skip] = %w(api/ng.html guide/tutorial/step_14.html guide/api.html guide/tutorial/.html)
+    options[:skip_patterns] = [
+      /error\/\$compile/,
+      /misc/,
+    ]
 
     options[:attribution] = <<-HTML
-      &copy; 2010&ndash;2017 Google, Inc.<br>
+      &copy; 2010&ndash;2018 Google, Inc.<br>
       Licensed under the Creative Commons Attribution License 4.0.
     HTML
 
@@ -45,8 +49,13 @@ module Docs
       capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")
     end
 
+    version '1.7' do
+      self.release = '1.7.8'
+      self.base_url = "https://code.angularjs.org/#{release}/docs/partials/";
+    end
+
     version '1.6' do
-      self.release = '1.6.6'
+      self.release = '1.6.9'
       self.base_url = "https://code.angularjs.org/#{release}/docs/partials/";
     end
 


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