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
8 float: right;8 float: right;
9 }9 }
10 10
11 .h5 { font-size: 1.25rem; }
12
11 .bs-callout { @extend %note; }13 .bs-callout { @extend %note; }
12 .bs-callout-info { @extend %note-blue; }14 .bs-callout-info { @extend %note-blue; }
13 .bs-callout-danger { @extend %note-red; }15 .bs-callout-danger { @extend %note-red; }
@@ -36,6 +38,7 @@ · 22 unmodified lines
36 }38 }
37 39
38 .col { margin-bottom: 1.5em; }40 .col { margin-bottom: 1.5em; }
41 .d-block { display: block; }
39 42
40 @media (min-width: 800px) {43 @media (min-width: 800px) {
41 .row {44 .row {
@@ -50,5 +53,6 @@ · 8 unmodified lines
50 -moz-box-sizing: border-box;53 -moz-box-sizing: border-box;
51 box-sizing: border-box;54 box-sizing: border-box;
52 }55 }
56 .col-md-6 { width: 50%; }
53 }57 }
54}58}
lib/docs/scrapers/bootstrap.rb+3−5
@@ -10,8 +10,7 @@ module Docs · 9 unmodified lines
10 10
11 # https://github.com/twbs/bootstrap/blob/master/LICENSE11 # https://github.com/twbs/bootstrap/blob/master/LICENSE
12 options[:attribution] = <<-HTML12 options[:attribution] = <<-HTML
13 &copy; 2011&ndash;2022 Twitter, Inc.<br>13 &copy; 2011&ndash;2023 The Bootstrap Authors<br>
14 &copy; 2011&ndash;2022 The Bootstrap Authors<br>
15 Code licensed under the MIT License.<br>14 Code licensed under the MIT License.<br>
16 Documentation licensed under the Creative Commons Attribution License v3.0.15 Documentation licensed under the Creative Commons Attribution License v3.0.
17 HTML16 HTML
@@ -23,9 +22,8 @@ module Docs · 5 unmodified lines
23 22
24 html_filters.push 'bootstrap/entries_v5', 'bootstrap/clean_html_v5'23 html_filters.push 'bootstrap/entries_v5', 'bootstrap/clean_html_v5'
25 24
26 options[:only_patterns] = [25 options[:skip_patterns] = [
27 /\Agetting-started\//, /\Alayout\//, /\Acontent\//,26 /\Aabout\//
28 /\Acomponents\//, /\Autilities\/.+/, /\Ahelpers\//
29 ]27 ]
30 28
31 options[:replace_paths] = {29 options[:replace_paths] = {