History

Update Bootstrap documentation (4.0.0)

Thibaut Courouble committed 8 years ago

Commit e7e4d131 parent 6ba23293 files · +6 −4Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/bootstrap/clean_html_v4.rb +2 −0
  3. lib/docs/scrapers/bootstrap.rb +3 −3
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -117,7 +117,7 @@ credits = [ · 116 unmodified lines
117 'https://raw.githubusercontent.com/petkaantonov/bluebird/master/LICENSE'117 'https://raw.githubusercontent.com/petkaantonov/bluebird/master/LICENSE'
118 ], [118 ], [
119 'Bootstrap',119 'Bootstrap',
120 '2011-2017 Twitter, Inc.<br>2011-2017 The Bootstrap Authors',120 '2011-2018 Twitter, Inc.<br>2011-2018 The Bootstrap Authors',
121 'CC BY',121 'CC BY',
122 'https://creativecommons.org/licenses/by/3.0/'122 'https://creativecommons.org/licenses/by/3.0/'
123 ], [123 ], [
lib/docs/filters/bootstrap/clean_html_v4.rb+2−0
@@ -17,6 +17,8 @@ module Docs · 16 unmodified lines
17 end17 end
18 18
19 css('.bd-example', '.responsive-utilities-test').each do |node|19 css('.bd-example', '.responsive-utilities-test').each do |node|
20 next unless node.previous_element
21
20 if node.previous_element['class'].try(:include?, 'bd-example')22 if node.previous_element['class'].try(:include?, 'bd-example')
21 node.remove23 node.remove
22 else24 else
lib/docs/scrapers/bootstrap.rb+3−3
@@ -9,14 +9,14 @@ module Docs · 8 unmodified lines
9 options[:trailing_slash] = true9 options[:trailing_slash] = true
10 10
11 options[:attribution] = <<-HTML11 options[:attribution] = <<-HTML
12 &copy; 2011&ndash;2017 Twitter, Inc.<br>12 &copy; 2011&ndash;2018 Twitter, Inc.<br>
13 &copy; 2011&ndash;2017 The Bootstrap Authors<br>13 &copy; 2011&ndash;2018 The Bootstrap Authors<br>
14 Code licensed under the MIT License.<br>14 Code licensed under the MIT License.<br>
15 Documentation licensed under the Creative Commons Attribution License v3.0.15 Documentation licensed under the Creative Commons Attribution License v3.0.
16 HTML16 HTML
17 17
18 version '4' do18 version '4' do
19 self.release = '4.0.0-beta.3'19 self.release = '4.0.0'
20 self.base_url = 'https://getbootstrap.com/docs/4.0/'20 self.base_url = 'https://getbootstrap.com/docs/4.0/'
21 self.root_path = 'getting-started/introduction/'21 self.root_path = 'getting-started/introduction/'
22 22