aboutsummaryrefslogtreecommitdiff
path: root/docs/getting-started
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/getting-started
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/getting-started')
-rw-r--r--docs/getting-started/accessibility.md5
-rw-r--r--docs/getting-started/build-tools.md5
-rw-r--r--docs/getting-started/download.md11
3 files changed, 18 insertions, 3 deletions
diff --git a/docs/getting-started/accessibility.md b/docs/getting-started/accessibility.md
index 9b2fc37db..a13ea286e 100644
--- a/docs/getting-started/accessibility.md
+++ b/docs/getting-started/accessibility.md
@@ -7,6 +7,11 @@ group: getting-started
Bootstrap follows common web standards and—with minimal extra effort—can be used to create sites that are accessible to those using <abbr title="Assistive Technology" class="initialism">AT</abbr>.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Component requirements
Some common HTML elements are always in need for basic accessibility enhancements through `role`s and Aria attributes. Below is a list of some of the most frequently used ones.
diff --git a/docs/getting-started/build-tools.md b/docs/getting-started/build-tools.md
index e62961663..a48304ebc 100644
--- a/docs/getting-started/build-tools.md
+++ b/docs/getting-started/build-tools.md
@@ -7,6 +7,11 @@ group: getting-started
Bootstrap uses [Grunt](http://gruntjs.com) for its CSS and JavaScript build system and Jekyll for the written documentation. Our Gruntfile includes convenient methods for working with the framework, including compiling code, running tests, and more.
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
## Tooling setup
To use our Gruntfile and run our documentation locally, you'll need a copy of Bootstrap's source files, Node, and Grunt. Follow these steps and you should be ready to rock:
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md
index a8168d9fa..4a1b74a9b 100644
--- a/docs/getting-started/download.md
+++ b/docs/getting-started/download.md
@@ -7,18 +7,23 @@ group: getting-started
**Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need.
-### Bootstrap CSS and JS
+## Contents
+
+* Will be replaced with the ToC, excluding the "Contents" header
+{:toc}
+
+## Bootstrap CSS and JS
**Download Bootstrap's ready-to-use code to easily drop into your project.** Includes compiled and minified versions of all our CSS bundles (default, flexbox-enabled, grid only, or Reboot only) and JavaScript plugins. Doesn't include documentation or source files.
<a href="{{ site.download.dist }}" class="btn btn-lg btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download Bootstrap');">Download Bootstrap</a>
-### Source files
+## Source files
**Want to compile Bootstrap with your project's asset pipeline?** Choose this option to download our source Sass, JavaScript, and documentation files. Requires a Sass compiler, [Autoprefixer](https://github.com/postcss/autoprefixer), [postcss-flexbugs-fixes](https://github.com/luisrudge/postcss-flexbugs-fixes), and [some setup]({{ site.baseurl }}/getting-started/build-tools/#tooling-setup).
<a href="{{ site.download.source }}" class="btn btn-bs btn-outline" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
-### Bootstrap CDN
+## Bootstrap CDN
Skip the download and use the Bootstrap CDN to deliver Bootstrap's compiled CSS and JS to your project.