History

Update Bootstrap documentation (5.3)

Fixes #1939.

Simon Legner committed 3 years ago

Commit 662aaa11 parent daaa16f2 files · +7 −5Browse files

Unified · Split

2 files
  1. assets/stylesheets/pages/_bootstrap.scss +4 −0
  2. lib/docs/scrapers/bootstrap.rb +3 −5
assets/stylesheets/pages/_bootstrap.scss+4−0
@@ -8,6 +8,8 @@ · 7 unmodified lines
88 float: right;
99 }
1010
11+ .h5 { font-size: 1.25rem; }
12+
1113 .bs-callout { @extend %note; }
1214 .bs-callout-info { @extend %note-blue; }
1315 .bs-callout-danger { @extend %note-red; }
@@ -36,6 +38,7 @@ · 22 unmodified lines
3638 }
3739
3840 .col { margin-bottom: 1.5em; }
41+ .d-block { display: block; }
3942
4043 @media (min-width: 800px) {
4144 .row {
@@ -50,5 +53,6 @@ · 8 unmodified lines
5053 -moz-box-sizing: border-box;
5154 box-sizing: border-box;
5255 }
56+ .col-md-6 { width: 50%; }
5357 }
5458 }
lib/docs/scrapers/bootstrap.rb+3−5
@@ -10,8 +10,7 @@ module Docs · 9 unmodified lines
1010
1111 # https://github.com/twbs/bootstrap/blob/master/LICENSE
1212 options[:attribution] = <<-HTML
13− &copy; 2011&ndash;2022 Twitter, Inc.<br>
14− &copy; 2011&ndash;2022 The Bootstrap Authors<br>
13+ &copy; 2011&ndash;2023 The Bootstrap Authors<br>
1514 Code licensed under the MIT License.<br>
1615 Documentation licensed under the Creative Commons Attribution License v3.0.
1716 HTML
@@ -23,9 +22,8 @@ module Docs · 5 unmodified lines
2322
2423 html_filters.push 'bootstrap/entries_v5', 'bootstrap/clean_html_v5'
2524
26− options[:only_patterns] = [
27− /\Agetting-started\//, /\Alayout\//, /\Acontent\//,
28− /\Acomponents\//, /\Autilities\/.+/, /\Ahelpers\//
25+ options[:skip_patterns] = [
26+ /\Aabout\//
2927 ]
3028
3129 options[:replace_paths] = {