Skip to content

Commit e7e4d13

Browse files
committed
Update Bootstrap documentation (4.0.0)
1 parent 6ba2329 commit e7e4d13

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

assets/javascripts/templates/pages/about_tmpl.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ credits = [
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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ def call
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ class Bootstrap < UrlScraper
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

0 commit comments

Comments
 (0)