aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorZac Echola <[email protected]>2015-09-11 13:27:57 -0500
committerZac Echola <[email protected]>2015-09-11 14:15:31 -0500
commit2c81a2eb0ff7e420b6150432f9885a820ce146b7 (patch)
treeec7f2c3d31cef2ecd703a08b9e6aa3dc470292f6 /docs
parentb811f8cf9628dbcbfe994f71588c5a0c921a092d (diff)
downloadbootstrap-2c81a2eb0ff7e420b6150432f9885a820ce146b7.tar.xz
bootstrap-2c81a2eb0ff7e420b6150432f9885a820ce146b7.zip
Adds current version to packages.
Diffstat (limited to 'docs')
-rw-r--r--docs/getting-started/download.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/getting-started/download.md b/docs/getting-started/download.md
index 4e83b9994..eb5caa4bc 100644
--- a/docs/getting-started/download.md
+++ b/docs/getting-started/download.md
@@ -40,13 +40,13 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
Install and manage Bootstrap's Sass and JavaScript using [Bower](http://bower.io).
-{% highlight bash %}$ bower install bootstrap{% endhighlight %}
+{% highlight bash %}$ bower install bootstrap#v{{ site.current_version }}{% endhighlight %}
### npm
Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.org/package/bootstrap):
-{% highlight bash %}$ npm install bootstrap{% endhighlight %}
+{% highlight bash %}$ npm install bootstrap@{{ site.current_version }}{% endhighlight %}
`require('bootstrap')` will load all of Bootstrap's jQuery plugins onto the jQuery object. The `bootstrap` module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the `/js/*.js` files under the package's top-level directory.
@@ -58,7 +58,7 @@ Bootstrap's `package.json` contains some additional metadata under the following
### Meteor
{% highlight bash %}
-$ meteor add twbs:bootstrap
+$ meteor add twbs:bootstrap@={{ site.current_version }}
{% endhighlight %}
### Composer
@@ -101,3 +101,4 @@ Need only a part of Bootstrap's CSS or JS? Use one of the custom builds to snag
<a class="btn btn-bs btn-outline" href="#">Download</a>
</div>
</div>
+