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
5 name = at_css('.bd-content h1').content.strip5 name = at_css('.bd-content h1').content.strip
6 name.remove! ' system'6 name.remove! ' system'
7 return type if name == 'Overview'7 return type if name == 'Overview'
8 name.prepend 'Utilities: ' if subpath.start_with?('utilities')
8 name9 name
9 end10 end
10 11
lib/docs/scrapers/bootstrap.rb+2−2
@@ -15,13 +15,13 @@ module Docs · 14 unmodified lines
15 HTML15 HTML
16 16
17 version '4' do17 version '4' do
18 self.release = 'alpha.4'18 self.release = 'alpha.5'
19 self.base_url = 'https://v4-alpha.getbootstrap.com/'19 self.base_url = 'https://v4-alpha.getbootstrap.com/'
20 self.root_path = 'getting-started/introduction'20 self.root_path = 'getting-started/introduction'
21 21
22 html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4'22 html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4'
23 23
24 options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//]24 options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//, /\Autilities\//]
25 end25 end
26 26
27 version '3' do27 version '3' do