diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee
index e747cf6c..64bb94d6 100644
--- a/assets/javascripts/templates/pages/about_tmpl.coffee
+++ b/assets/javascripts/templates/pages/about_tmpl.coffee
@@ -82,10 +82,15 @@ app.templates.aboutPage = -> """
"""
credits = [
- [ 'Angular
Angular.js',
+ [ 'Angular.js',
'2010-2020 Google, Inc.',
'CC BY 3.0',
'https://creativecommons.org/licenses/by/3.0/'
+ ], [
+ 'Angular',
+ '2010-2020 Google, Inc.',
+ 'CC BY',
+ 'https://creativecommons.org/licenses/by/4.0/'
], [
'Ansible',
'2012-2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.',
diff --git a/lib/docs/scrapers/angular.rb b/lib/docs/scrapers/angular.rb
index 5ca1a35d..0c4b9f43 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–2019 Google, Inc.
+ © 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
HTML
@@ -59,7 +59,7 @@ module Docs
end
version do
- self.release = '8.2.14'
+ self.release = '11.0.0'
self.base_url = 'https://angular.io/'
self.root_path = 'docs'
@@ -78,6 +78,66 @@ module Docs
include Docs::Angular::Common
end
+ version '10' do
+ self.release = '10.2.3'
+ self.base_url = 'https://v10.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 '9' do
+ self.release = '9.1.12'
+ self.base_url = 'https://v9.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 '8' do
+ self.release = '8.2.14'
+ self.base_url = 'https://v8.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/'