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
117117 'https://raw.githubusercontent.com/petkaantonov/bluebird/master/LICENSE'
118118 ], [
119119 'Bootstrap',
120− '2011-2017 Twitter, Inc.<br>2011-2017 The Bootstrap Authors',
120+ '2011-2018 Twitter, Inc.<br>2011-2018 The Bootstrap Authors',
121121 'CC BY',
122122 'https://creativecommons.org/licenses/by/3.0/'
123123 ], [
lib/docs/filters/bootstrap/clean_html_v4.rb+2−0
@@ -17,6 +17,8 @@ module Docs · 16 unmodified lines
1717 end
1818
1919 css('.bd-example', '.responsive-utilities-test').each do |node|
20+ next unless node.previous_element
21+
2022 if node.previous_element['class'].try(:include?, 'bd-example')
2123 node.remove
2224 else
lib/docs/scrapers/bootstrap.rb+3−3
@@ -9,14 +9,14 @@ module Docs · 8 unmodified lines
99 options[:trailing_slash] = true
1010
1111 options[:attribution] = <<-HTML
12− &copy; 2011&ndash;2017 Twitter, Inc.<br>
13− &copy; 2011&ndash;2017 The Bootstrap Authors<br>
12+ &copy; 2011&ndash;2018 Twitter, Inc.<br>
13+ &copy; 2011&ndash;2018 The Bootstrap Authors<br>
1414 Code licensed under the MIT License.<br>
1515 Documentation licensed under the Creative Commons Attribution License v3.0.
1616 HTML
1717
1818 version '4' do
19− self.release = '4.0.0-beta.3'
19+ self.release = '4.0.0'
2020 self.base_url = 'https://getbootstrap.com/docs/4.0/'
2121 self.root_path = 'getting-started/introduction/'
2222