History

Update Angular documentation (2.2.1)

Thibaut Courouble committed 9 years ago

Commit e5e86d51 parent cbbe0751 file · +4 −3Browse files

Unified · Split

lib/docs/scrapers/angular.rb+4−3
@@ -20,7 +20,8 @@ module Docs · 19 unmodified lines
20 options[:replace_paths] = {20 options[:replace_paths] = {
21 'testing/index.html' => 'guide/testing.html',21 'testing/index.html' => 'guide/testing.html',
22 'guide/glossary.html' => 'glossary.html',22 'guide/glossary.html' => 'glossary.html',
23 'tutorial' => 'tutorial/'23 'tutorial' => 'tutorial/',
24 'api' => 'api/'
24 }25 }
25 26
26 options[:fix_urls] = -> (url) do27 options[:fix_urls] = -> (url) do
@@ -41,12 +42,12 @@ module Docs · 14 unmodified lines
41 end42 end
42 43
43 version '2 TypeScript' do44 version '2 TypeScript' do
44 self.release = '2.1.2'45 self.release = '2.2.1'
45 self.base_url = 'https://angular.io/docs/ts/latest/'46 self.base_url = 'https://angular.io/docs/ts/latest/'
46 end47 end
47 48
48 version '2 Dart' do49 version '2 Dart' do
49 self.release = '2.1.2'50 self.release = '2.2.1'
50 self.base_url = 'https://angular.io/docs/dart/latest/'51 self.base_url = 'https://angular.io/docs/dart/latest/'
51 52
52 options[:skip_patterns] += [/angular2\.compiler/]53 options[:skip_patterns] += [/angular2\.compiler/]