History

Update Angular.js documentation (1.6.1, 1.5.10, 1.4.14, 1.3.20, 1.2.32)

Thibaut Courouble committed 9 years ago

Commit 2faf0ac1 parent 67a868c1 file · +7 −2Browse files

Unified · Split

lib/docs/scrapers/angularjs.rb+7−2
@@ -4,7 +4,7 @@ module Docs · 3 unmodified lines
44 self.slug = 'angularjs'
55 self.type = 'angularjs'
66 self.root_path = 'api.html'
7− self.initial_paths = %w(guide.html)
7+ self.initial_paths = %w(guide.html guide/controller.html)
88
99 html_filters.push 'angularjs/clean_html', 'angularjs/entries', 'title'
1010 text_filters.push 'angularjs/clean_urls'
@@ -45,8 +45,13 @@ module Docs · 34 unmodified lines
4545 capybara.execute_script("return document.querySelector('.side-navigation').innerHTML")
4646 end
4747
48+ version '1.6' do
49+ self.release = '1.6.1'
50+ self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"
51+ end
52+
4853 version '1.5' do
49− self.release = '1.5.9'
54+ self.release = '1.5.10'
5055 self.base_url = "https://code.angularjs.org/#{release}/docs/partials/"
5156 end
5257