aboutsummaryrefslogtreecommitdiff
path: root/docs/layout
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/layout
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/layout')
-rw-r--r--docs/layout/overview.md5
-rw-r--r--docs/layout/responsive-utilities.md5
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/layout/overview.md b/docs/layout/overview.md
index e4d6bc49e..758854b8a 100644
--- a/docs/layout/overview.md
+++ b/docs/layout/overview.md
@@ -8,6 +8,11 @@ redirect_from: "/layout/"
Bootstrap includes several components and options for laying out your project, including wrapping containers, a powerful grid system, a flexible media object, and responsive utility classes.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Containers
Containers are the most basic layout element in Bootstrap and are **required when using our grid system**. Choose from a responsive, fixed-width container (meaning its `max-width` changes at each breakpoint) or fluid-width (meaning it's `100%` wide all the time).
diff --git a/docs/layout/responsive-utilities.md b/docs/layout/responsive-utilities.md
index 6a7a1bb09..69f6ae1be 100644
--- a/docs/layout/responsive-utilities.md
+++ b/docs/layout/responsive-utilities.md
@@ -9,6 +9,11 @@ For faster mobile-friendly development, use these utility classes for showing an
Try to use these on a limited basis and avoid creating entirely different versions of the same site. Instead, use them to complement each device's presentation.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Available classes
* The `.hidden-*-up` classes hide the element when the viewport is at the given breakpoint or wider. For example, `.hidden-md-up` hides an element on medium, large, and extra-large viewports.