aboutsummaryrefslogtreecommitdiff
path: root/docs/utilities
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-25 14:01:06 -0800
committerMark Otto <[email protected]>2016-11-25 14:01:06 -0800
commit83c8bfa30d4d906ff7f2e37314e99e1098eb9bce (patch)
treed2dba02d7cab9fab850f580238a9af87bb53915e /docs/utilities
parent5b151eb891ac9fb188af4448f9f497125c4f74a3 (diff)
downloadbootstrap-83c8bfa30d4d906ff7f2e37314e99e1098eb9bce.tar.xz
bootstrap-83c8bfa30d4d906ff7f2e37314e99e1098eb9bce.zip
Fixes #21195: Add more table of contents to pages with longer contents
Diffstat (limited to 'docs/utilities')
-rw-r--r--docs/utilities/spacing.md5
-rw-r--r--docs/utilities/typography.md5
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/utilities/spacing.md b/docs/utilities/spacing.md
index 91dab4f02..0a5132941 100644
--- a/docs/utilities/spacing.md
+++ b/docs/utilities/spacing.md
@@ -6,6 +6,11 @@ group: utilities
Assign responsive-friendly `margin` or `padding` values to an element or a subset of its sides with shorthand classes. Includes support for individual properties, all properties, and vertical and horizontal properties. Classes are built from a default Sass map ranging from `.25rem` to `3rem`.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Notation
Spacing utilities that apply to all breakpoints, from `xs` to `xl`, have no breakpoint abbreviation in them. This is because those classes are applied from `min-width: 0` and up, and thus are not bound by a media query. The remaining breakpoints, however, do include a breakpoint abbreviation.
diff --git a/docs/utilities/typography.md b/docs/utilities/typography.md
index c5628dad1..7db133d05 100644
--- a/docs/utilities/typography.md
+++ b/docs/utilities/typography.md
@@ -6,6 +6,11 @@ group: utilities
The following utilities can be used to add additional styles to texts.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Text alignment
Easily realign text to components with text alignment classes.