Unified · Split
| @@ -111,7 +111,7 @@ credits = [ · 110 unmodified lines | |||
| 111 | 'https://raw.githubusercontent.com/jashkenas/backbone/master/LICENSE' | 111 | 'https://raw.githubusercontent.com/jashkenas/backbone/master/LICENSE' |
| 112 | ], [ | 112 | ], [ |
| 113 | 'Bootstrap', | 113 | 'Bootstrap', |
| 114 | '2011-2016 Twitter, Inc.', | 114 | '2011-2017 Twitter, Inc.<br>2011-2017 The Bootstrap Authors', |
| 115 | 'CC BY', | 115 | 'CC BY', |
| 116 | 'https://creativecommons.org/licenses/by/3.0/' | 116 | 'https://creativecommons.org/licenses/by/3.0/' |
| 117 | ], [ | 117 | ], [ |
| @@ -12,7 +12,7 @@ module Docs · 11 unmodified lines | |||
| 12 | node.parent.remove | 12 | node.parent.remove |
| 13 | end | 13 | end |
| 14 | 14 | ||
| 15 | css('.bd-example-row', '.table-responsive').each do |node| | 15 | css('.bd-example-row', '.bd-example-border-utils').each do |node| |
| 16 | node.before(node.children).remove | 16 | node.before(node.children).remove |
| 17 | end | 17 | end |
| 18 | 18 | ||
| @@ -30,7 +30,7 @@ module Docs · 29 unmodified lines | |||
| 30 | entries << [name, id] | 30 | entries << [name, id] |
| 31 | end | 31 | end |
| 32 | 32 | ||
| 33 | css("#options + p + div tbody td:first-child").each do |node| | 33 | css("#options + p + table tbody td:first-child").each do |node| |
| 34 | name = node.content.strip | 34 | name = node.content.strip |
| 35 | id = node.parent['id'] = "#{name.parameterize}-option" | 35 | id = node.parent['id'] = "#{name.parameterize}-option" |
| 36 | name.prepend "#{self.name}: " | 36 | name.prepend "#{self.name}: " |
| @@ -40,7 +40,9 @@ module Docs · 3 unmodified lines | |||
| 40 | 40 | ||
| 41 | css("#methods + table tbody td:first-child, #methods ~ h4 code").each do |node| | 41 | css("#methods + table tbody td:first-child, #methods ~ h4 code").each do |node| |
| 42 | next unless name = node.content[/\('(\w+)'\)/, 1] | 42 | next unless name = node.content[/\('(\w+)'\)/, 1] |
| 43 | id = node.parent['id'] = "#{name.parameterize}-method" | 43 | unless id = node.parent['id'] |
| 44 | id = node.parent['id'] = "#{name.parameterize}-method" | ||
| 45 | end | ||
| 44 | name.prepend "#{self.name}: " | 46 | name.prepend "#{self.name}: " |
| 45 | name << ' (method)' | 47 | name << ' (method)' |
| 46 | entries << [name, id] | 48 | entries << [name, id] |
| @@ -9,13 +9,14 @@ module Docs · 8 unmodified lines | |||
| 9 | options[:trailing_slash] = false | 9 | options[:trailing_slash] = false |
| 10 | 10 | ||
| 11 | options[:attribution] = <<-HTML | 11 | options[:attribution] = <<-HTML |
| 12 | © 2011–2016 Twitter, Inc.<br> | 12 | © 2011–2017 Twitter, Inc.<br> |
| 13 | © 2011–2017 The Bootstrap Authors<br> | ||
| 13 | Code licensed under the MIT License.<br> | 14 | Code licensed under the MIT License.<br> |
| 14 | Documentation licensed under the Creative Commons Attribution License v3.0. | 15 | Documentation licensed under the Creative Commons Attribution License v3.0. |
| 15 | HTML | 16 | HTML |
| 16 | 17 | ||
| 17 | version '4' do | 18 | version '4' do |
| 18 | self.release = 'alpha.5' | 19 | self.release = 'alpha.6' |
| 19 | self.base_url = 'https://v4-alpha.getbootstrap.com/' | 20 | self.base_url = 'https://v4-alpha.getbootstrap.com/' |
| 20 | self.root_path = 'getting-started/introduction' | 21 | self.root_path = 'getting-started/introduction' |
| 21 | 22 | ||