History

Update Bootstrap documentation (alpha.5, 3.3.7)

Thibaut Courouble committed 10 years ago

Commit 7b334a51 parent 399280a2 files · +3 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/bootstrap/entries_v4.rb +1 −0
  2. lib/docs/scrapers/bootstrap.rb +2 −2
lib/docs/filters/bootstrap/entries_v4.rb+1−0
@@ -5,6 +5,7 @@ module Docs · 4 unmodified lines
55 name = at_css('.bd-content h1').content.strip
66 name.remove! ' system'
77 return type if name == 'Overview'
8+ name.prepend 'Utilities: ' if subpath.start_with?('utilities')
89 name
910 end
1011
lib/docs/scrapers/bootstrap.rb+2−2
@@ -15,13 +15,13 @@ module Docs · 14 unmodified lines
1515 HTML
1616
1717 version '4' do
18− self.release = 'alpha.4'
18+ self.release = 'alpha.5'
1919 self.base_url = 'https://v4-alpha.getbootstrap.com/'
2020 self.root_path = 'getting-started/introduction'
2121
2222 html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4'
2323
24− options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//]
24+ options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//, /\Autilities\//]
2525 end
2626
2727 version '3' do