Update Bootstrap documentation (alpha.6, 3.3.7)

pull/570/head
Thibaut Courouble 8 years ago
parent 1981b50204
commit 3a6fcdf0b3

@ -111,7 +111,7 @@ credits = [
'https://raw.githubusercontent.com/jashkenas/backbone/master/LICENSE'
], [
'Bootstrap',
'2011-2016 Twitter, Inc.',
'2011-2017 Twitter, Inc.<br>2011-2017 The Bootstrap Authors',
'CC BY',
'https://creativecommons.org/licenses/by/3.0/'
], [

@ -12,7 +12,7 @@ module Docs
node.parent.remove
end
css('.bd-example-row', '.table-responsive').each do |node|
css('.bd-example-row', '.bd-example-border-utils').each do |node|
node.before(node.children).remove
end

@ -30,7 +30,7 @@ module Docs
entries << [name, id]
end
css("#options + p + div tbody td:first-child").each do |node|
css("#options + p + table tbody td:first-child").each do |node|
name = node.content.strip
id = node.parent['id'] = "#{name.parameterize}-option"
name.prepend "#{self.name}: "
@ -40,7 +40,9 @@ module Docs
css("#methods + table tbody td:first-child, #methods ~ h4 code").each do |node|
next unless name = node.content[/\('(\w+)'\)/, 1]
unless id = node.parent['id']
id = node.parent['id'] = "#{name.parameterize}-method"
end
name.prepend "#{self.name}: "
name << ' (method)'
entries << [name, id]

@ -9,13 +9,14 @@ module Docs
options[:trailing_slash] = false
options[:attribution] = <<-HTML
&copy; 2011&ndash;2016 Twitter, Inc.<br>
&copy; 2011&ndash;2017 Twitter, Inc.<br>
&copy; 2011&ndash;2017 The Bootstrap Authors<br>
Code licensed under the MIT License.<br>
Documentation licensed under the Creative Commons Attribution License v3.0.
HTML
version '4' do
self.release = 'alpha.5'
self.release = 'alpha.6'
self.base_url = 'https://v4-alpha.getbootstrap.com/'
self.root_path = 'getting-started/introduction'

Loading…
Cancel
Save