diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee
index 0165ade2..fd3d9a7c 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -83,7 +83,7 @@ app.templates.aboutPage = -> """
credits = [
[ 'Angular
Angular.js',
- '2010-2018 Google, Inc.',
+ '2010-2019 Google, Inc.',
'CC BY',
'https://creativecommons.org/licenses/by/4.0/'
], [
diff --git a/lib/docs/scrapers/angular.rb b/lib/docs/scrapers/angular.rb
index 3365ec67..b5db97e9 100644
--- a/lib/docs/scrapers/angular.rb
+++ b/lib/docs/scrapers/angular.rb
@@ -11,7 +11,7 @@ module Docs
options[:max_image_size] = 256_000
options[:attribution] = <<-HTML
- © 2010–2018 Google, Inc.
+ © 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
HTML
@@ -59,6 +59,46 @@ module Docs
end
version do
+ self.release = '8.2.12'
+ self.base_url = 'https://v7.angular.io/'
+ self.root_path = 'docs'
+
+ html_filters.push 'angular/clean_html', 'angular/entries'
+
+ options[:follow_links] = false
+ options[:only_patterns] = [/\Aguide/, /\Atutorial/, /\Aapi/]
+ options[:fix_urls_before_parse] = ->(url) do
+ url.sub! %r{\Aguide/}, '/guide/'
+ url.sub! %r{\Atutorial/}, '/tutorial/'
+ url.sub! %r{\Aapi/}, '/api/'
+ url.sub! %r{\Agenerated/}, '/generated/'
+ url
+ end
+
+ include Docs::Angular::Common
+ end
+
+ version '7' do
+ self.release = '7.2.15'
+ self.base_url = 'https://v7.angular.io/'
+ self.root_path = 'docs'
+
+ html_filters.push 'angular/clean_html', 'angular/entries'
+
+ options[:follow_links] = false
+ options[:only_patterns] = [/\Aguide/, /\Atutorial/, /\Aapi/]
+ options[:fix_urls_before_parse] = ->(url) do
+ url.sub! %r{\Aguide/}, '/guide/'
+ url.sub! %r{\Atutorial/}, '/tutorial/'
+ url.sub! %r{\Aapi/}, '/api/'
+ url.sub! %r{\Agenerated/}, '/generated/'
+ url
+ end
+
+ include Docs::Angular::Common
+ end
+
+ version '6' do
self.release = '6.0.4'
self.base_url = 'https://angular.io/'
self.root_path = 'docs'
diff --git a/public/icons/docs/angular/16.png b/public/icons/docs/angular/16.png
index c2da47dd..ace09120 100644
Binary files a/public/icons/docs/angular/16.png and b/public/icons/docs/angular/16.png differ
diff --git a/public/icons/docs/angular/16@2x.png b/public/icons/docs/angular/16@2x.png
index 10125c54..f6c6a096 100644
Binary files a/public/icons/docs/angular/16@2x.png and b/public/icons/docs/angular/16@2x.png differ