Skip to content

Commit 076a950

Browse files
Kovahmdo
authored andcommitted
Docs: Breaks out Utilities into separate section and optimizes its pages (#20678)
1 parent 82e7abc commit 076a950

14 files changed

+436
-367
lines changed

docs/_data/nav.yml

+14
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@
5353
- title: Tooltips
5454
- title: Utilities
5555

56+
- title: Utilities
57+
pages:
58+
- title: Clearfix
59+
- title: Close icon
60+
- title: Colors
61+
- title: Display property
62+
- title: Image replacement
63+
- title: Invisible content
64+
- title: Responsive helpers
65+
- title: Screenreaders
66+
- title: Sizing and positioning
67+
- title: Spacing
68+
- title: Typography
69+
5670
# - title: Extend
5771
# pages:
5872
# - title: Approach

docs/_includes/page-headers.html

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ <h1>Components</h1>
1818
<p class="lead">
1919
Over a dozen reusable components built to provide buttons, dropdowns, input groups, navigation, alerts, and much more.
2020
</p>
21+
{% elsif page.group == "utilities" %}
22+
<h1>Utilities</h1>
23+
<p class="lead">
24+
Bootstrap includes dozens of utilities—classes with a single purpose to reduce the frequency of highly repetitive declarations.
25+
</p>
2126
{% elsif page.group == "javascript" %}
2227
<h1>JavaScript plugins</h1>
2328
<p class="lead">

0 commit comments

Comments
 (0)