Update Bootstrap documentation (alpha.5, 3.3.7)

pull/546/head
Thibaut Courouble 8 years ago
parent 399280a5e9
commit 7b334a5cb0

@ -5,6 +5,7 @@ module Docs
name = at_css('.bd-content h1').content.strip name = at_css('.bd-content h1').content.strip
name.remove! ' system' name.remove! ' system'
return type if name == 'Overview' return type if name == 'Overview'
name.prepend 'Utilities: ' if subpath.start_with?('utilities')
name name
end end

@ -15,13 +15,13 @@ module Docs
HTML HTML
version '4' do version '4' do
self.release = 'alpha.4' self.release = 'alpha.5'
self.base_url = 'https://v4-alpha.getbootstrap.com/' self.base_url = 'https://v4-alpha.getbootstrap.com/'
self.root_path = 'getting-started/introduction' self.root_path = 'getting-started/introduction'
html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4' html_filters.push 'bootstrap/entries_v4', 'bootstrap/clean_html_v4'
options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//] options[:only_patterns] = [/\Agetting-started\//, /\Alayout\//, /\Acontent\//, /\Acomponents\//, /\Autilities\//]
end end
version '3' do version '3' do

Loading…
Cancel
Save