From c72cc98bd56fb50259c84a1fced38751009eb930 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 27 May 2017 23:01:14 -0700 Subject: [PATCH] update components docs --- docs/components/alerts.md | 8 +------- docs/components/badge.md | 21 ++++++++++++--------- docs/components/breadcrumb.md | 4 ++-- docs/components/button-group.md | 25 +++++++++---------------- docs/components/buttons.md | 8 +------- docs/components/card.md | 8 +++----- docs/components/carousel.md | 8 +++----- docs/components/collapse.md | 8 +------- docs/components/dropdowns.md | 12 ++++-------- docs/components/forms.md | 10 ++-------- docs/components/input-group.md | 10 ++-------- docs/components/jumbotron.md | 2 -- docs/components/list-group.md | 11 +++-------- docs/components/modal.md | 10 ++-------- docs/components/navbar.md | 12 +++--------- docs/components/navs.md | 12 ++++-------- docs/components/pagination.md | 10 ++-------- docs/components/popovers.md | 10 ++-------- docs/components/progress.md | 28 +++++++++------------------- docs/components/scrollspy.md | 10 ++-------- docs/components/tooltips.md | 10 ++-------- 21 files changed, 69 insertions(+), 168 deletions(-) diff --git a/docs/components/alerts.md b/docs/components/alerts.md index dae4ec7d36..3acfd2a797 100644 --- a/docs/components/alerts.md +++ b/docs/components/alerts.md @@ -3,15 +3,9 @@ layout: docs title: Alerts description: Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. group: components +toc: true --- -Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages. - -## Contents - -* Will be replaced with the ToC, excluding the "Contents" header -{:toc} - ## Examples Alerts are available for any length of text, as well as an optional dismiss button. For proper styling, use one of the four **required** contextual classes (e.g., `.alert-success`). For inline dismissal, use the [alerts jQuery plugin](#dismissing). diff --git a/docs/components/badge.md b/docs/components/badge.md index a7497a285d..764e5a1cbb 100644 --- a/docs/components/badge.md +++ b/docs/components/badge.md @@ -3,27 +3,30 @@ layout: docs title: Badges description: Documentation and examples for badges, our small count and labeling component. group: components +toc: true --- -Small and adaptive tag for adding context to just about any content. - -## Contents - -* Will be replaced with the ToC, excluding the "Contents" header -{:toc} - ## Example Badges scale to match the size of the immediate parent element by using relative font sizing and `em` units. -{% example html %} +
+
Example heading New
+
Example heading New
+
Example heading New
+
Example heading New
+
Example heading New
+
Example heading New
+
+ +{% highlight html %}

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New
-{% endexample %} +{% endhighlight %} ## Contextual variations diff --git a/docs/components/breadcrumb.md b/docs/components/breadcrumb.md index 8beaa0ae4a..eb286d8471 100644 --- a/docs/components/breadcrumb.md +++ b/docs/components/breadcrumb.md @@ -1,11 +1,11 @@ --- layout: docs title: Breadcrumb -description: Indicate the current page's location within a navigational hierarchy. +description: Indicate the current page's location within a navigational hierarchy that automatically adds separators via CSS. group: components --- -Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). +Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content). {% example html %}