Skip to content

Commit 662aaa1

Browse files
committed
Update Bootstrap documentation (5.3)
Fixes #1939.
1 parent daaa16f commit 662aaa1

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

assets/stylesheets/pages/_bootstrap.scss

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ class Bootstrap < UrlScraper
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 @@ class Bootstrap < UrlScraper
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] = {

0 commit comments

Comments
 (0)