File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,14 @@ class Angularjs < UrlScraper
31
31
end
32
32
33
33
options [ :only_patterns ] = [ %r{\A api} , %r{\A guide} ]
34
- options [ :skip ] = %w( api/ng.html )
34
+ options [ :skip ] = %w( api/ng.html guide/tutorial/step_14.html guide/api.html guide/tutorial/.html )
35
+ options [ :skip_patterns ] = [
36
+ /error\/ \$ compile/ ,
37
+ /misc/ ,
38
+ ]
35
39
36
40
options [ :attribution ] = <<-HTML
37
- © 2010–2017 Google, Inc.< br >
41
+ © 2010–2018 Google, Inc.< br >
38
42
Licensed under the Creative Commons Attribution License 4.0.
39
43
HTML
40
44
@@ -45,8 +49,13 @@ class Angularjs < UrlScraper
45
49
capybara . execute_script ( "return document.querySelector('.side-navigation').innerHTML" )
46
50
end
47
51
52
+ version '1.7' do
53
+ self . release = '1.7.8'
54
+ self . base_url = "https://code.angularjs.org/#{ release } /docs/partials/"
55
+ end
56
+
48
57
version '1.6' do
49
- self . release = '1.6.6 '
58
+ self . release = '1.6.9 '
50
59
self . base_url = "https://code.angularjs.org/#{ release } /docs/partials/"
51
60
end
52
61
You can’t perform that action at this time.
0 commit comments