diff options
| author | Mark Otto <[email protected]> | 2013-03-29 13:43:30 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-03-29 13:43:30 -0700 |
| commit | d3fe506f046d54945e46abcf7668cf7105b0a684 (patch) | |
| tree | 4d9cadbf48e8bfd27ecc5590d3720daca54d33b4 | |
| parent | 3055f09a902cb26b01701fe41db0e8ec35d90a61 (diff) | |
| download | bootstrap-d3fe506f046d54945e46abcf7668cf7105b0a684.tar.xz bootstrap-d3fe506f046d54945e46abcf7668cf7105b0a684.zip | |
clearer js instructions on how to include plugins
| -rw-r--r-- | docs/docs.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/docs.html b/docs/docs.html index 5896f2730..bf46cb34c 100644 --- a/docs/docs.html +++ b/docs/docs.html @@ -77,6 +77,7 @@ title: Bootstrap Documentation <p class="lead">Make use of a super basic HTML template, or dive into a few examples we've started for you. We encourage folks to iterate on these examples and not simply use them as an end result.</p> <h3>HTML template</h3> + <p>Copy and paste the HTML from below to get started with a bare bones Bootstrap document.</p> {% highlight html linenos %} <!DOCTYPE html> <html> @@ -88,7 +89,10 @@ title: Bootstrap Documentation </head> <body> <h1>Hello, world!</h1> + + <!-- JavaScript plugins (requires jQuery) --> <script src="http://code.jquery.com/jquery.js"></script> + <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="js/bootstrap.min.js"></script> <!-- Optionally enable responsive features in IE8 --> @@ -4501,6 +4505,8 @@ For example, <code><section></code> should be wrapped as inline. + + <div class="bs-docs-section-header" id="js"> <h1>JavaScript plugins</h1> </div> @@ -4514,7 +4520,7 @@ For example, <code><section></code> should be wrapped as inline. </div> <h3>Individual or compiled</h3> - <p>Plugins can be included individually (though some have required dependencies), or all at once. Both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all plugins in a single file.</p> + <p>Plugins can be included individually (though some have required dependencies), or all at once. <strong>Do attempt to include both.</strong> Both <strong>bootstrap.js</strong> and <strong>bootstrap.min.js</strong> contain all plugins in a single file.</p> <h3>Data attributes</h3> <p>You can use all Bootstrap plugins purely through the markup API without writing a single line of JavaScript. This is Bootstrap's first class API and should be your first consideration when using a plugin.</p> |
