From 1b15cefa5c5342129bec9b794946f3fb2641077d Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Mon, 17 Mar 2014 12:19:45 +0100 Subject: Generate Translations list from YAML --- docs/_includes/getting-started/translations.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/translations.html b/docs/_includes/getting-started/translations.html index dc46f5d90..215f790de 100644 --- a/docs/_includes/getting-started/translations.html +++ b/docs/_includes/getting-started/translations.html @@ -3,13 +3,9 @@

Community members have translated Bootstrap's documentation into various languages. None are officially supported and they may not always be up to date.

We don't help organize or host translations, we just link to them.

Finished a new or better translation? Open a pull request to add it to our list.

-- cgit v1.2.3 From a696d47592ef19510087113fa8e88af31a6491e0 Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Thu, 27 Mar 2014 21:26:21 +0100 Subject: Change GA events to Universal Analytics --- docs/_includes/getting-started/download.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index e3adffd8b..c89c8b9e4 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -8,21 +8,21 @@

Bootstrap

Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included.

- Download Bootstrap + Download Bootstrap

Source code

Source Less, JavaScript, and font files, along with our docs. Requires a Less compiler and some setup.

- Download source + Download source

Sass

Bootstrap ported from Less to Sass for easy inclusion in Rails, Compass, or Sass-only projects.

- Download Sass + Download Sass

-- cgit v1.2.3 From b57396944a39b21571848728b6ad479cd50537cd Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 27 Mar 2014 13:57:50 -0700 Subject: Add equal-height grid columns as an experimental example. Based on @pete-otaqui's work from #11851 --- docs/_includes/getting-started/examples.html | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/examples.html b/docs/_includes/getting-started/examples.html index e6aed9bee..bf87a2cec 100644 --- a/docs/_includes/getting-started/examples.html +++ b/docs/_includes/getting-started/examples.html @@ -155,5 +155,12 @@

Offcanvas

Build a toggleable off-canvas navigation menu for use with Bootstrap.

+
+ + + +

Equal-height grid columns

+

Adds automatic equal-height grid columns to Bootstrap's grid system.

+
-- cgit v1.2.3 From b2a67ffe55f5fedb0ae1d5dff331687c3e744be0 Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Thu, 27 Mar 2014 22:59:26 +0100 Subject: Revert upgrade to Universal Analytics The Google Analytics account we use cannot currently be upgraded to Universal Analytics. In order to keep using Analytics, we have to stick with Classic for now. --- docs/_includes/getting-started/download.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index c89c8b9e4..e3adffd8b 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -8,21 +8,21 @@

Bootstrap

Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included.

- Download Bootstrap + Download Bootstrap

Source code

Source Less, JavaScript, and font files, along with our docs. Requires a Less compiler and some setup.

- Download source + Download source

Sass

Bootstrap ported from Less to Sass for easy inclusion in Rails, Compass, or Sass-only projects.

- Download Sass + Download Sass

-- cgit v1.2.3 From e59da022308c613deae3091723d5517bdaee9e43 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 31 Mar 2014 00:00:05 -0700 Subject: add document ready jQuery wrapper in Android Browser workaround --- docs/_includes/getting-started/browser-device-support.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/browser-device-support.html b/docs/_includes/getting-started/browser-device-support.html index 3e1dd3e66..183bb7668 100644 --- a/docs/_includes/getting-started/browser-device-support.html +++ b/docs/_includes/getting-started/browser-device-support.html @@ -176,11 +176,13 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {

On <select> elements, the Android stock browser will not display the side controls if there is a border-radius and/or border applied. Use the snippet of code below to remove the offending CSS and render the <select> as an unstyled element on the Android stock browser. The user agent sniffing avoids interference with Chrome, Safari, and Mozilla browsers.

{% highlight html %} {% endhighlight %}

Want to see an example? Check out this JS Bin demo.

-- cgit v1.2.3 From fa9e541f5e9aa9ce5ea039166826c5f195585daa Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Fri, 4 Apr 2014 10:28:45 +0200 Subject: Re-implement Universal Analytics X-Refs: https://github.com/twbs/bootstrap/commit/b2a67ffe55f5fedb0ae1d5dff331687c3e744be0 https://github.com/twbs/bootstrap/commit/c97e6d5cad74d20257d28734f85311ef5d00b560 --- docs/_includes/getting-started/download.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index e3adffd8b..c89c8b9e4 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -8,21 +8,21 @@

Bootstrap

Compiled and minified CSS, JavaScript, and fonts. No docs or original source files are included.

- Download Bootstrap + Download Bootstrap

Source code

Source Less, JavaScript, and font files, along with our docs. Requires a Less compiler and some setup.

- Download source + Download source

Sass

Bootstrap ported from Less to Sass for easy inclusion in Rails, Compass, or Sass-only projects.

- Download Sass + Download Sass

-- cgit v1.2.3 From a549e8c332c44ed3b79e3250a0a0d87cc06f7e00 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 21 Apr 2014 19:11:23 +0300 Subject: Update html5shiv to v3.7.1. --- docs/_includes/getting-started/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/template.html b/docs/_includes/getting-started/template.html index c6a1646d6..5e0854977 100644 --- a/docs/_includes/getting-started/template.html +++ b/docs/_includes/getting-started/template.html @@ -19,7 +19,7 @@ -- cgit v1.2.3 From 52b6a3214574de58bee6e08049e5b477bb4f226c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 21 Apr 2014 19:12:43 +0300 Subject: Use the new respond.js URL. --- docs/_includes/getting-started/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/template.html b/docs/_includes/getting-started/template.html index 5e0854977..de0515342 100644 --- a/docs/_includes/getting-started/template.html +++ b/docs/_includes/getting-started/template.html @@ -20,7 +20,7 @@ -- cgit v1.2.3 From 588889cdc5908279c59ca418da3ad4f4e8dd235a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 3 May 2014 22:56:45 -0700 Subject: document #13390 --- docs/_includes/getting-started/browser-device-support.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/browser-device-support.html b/docs/_includes/getting-started/browser-device-support.html index 183bb7668..aeb804ca1 100644 --- a/docs/_includes/getting-started/browser-device-support.html +++ b/docs/_includes/getting-started/browser-device-support.html @@ -112,7 +112,7 @@ {% endhighlight %}

Confirm the document mode by opening the debugging tools: press F12 and check the "Document Mode".

-

This tag is included in all Bootstrap's documentation and examples to ensure the best rendering possible in each supported version of Internet Explorer.

+

This tag is included in all of Bootstrap's documentation and examples to ensure the best rendering possible in each supported version of Internet Explorer.

See this StackOverflow question for more information.

Internet Explorer 10 in Windows 8 and Windows Phone 8

@@ -141,7 +141,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) { } {% endhighlight %}

For more information and usage guidelines, read Windows Phone 8 and Device-Width.

-

As a heads up, we include this in the Bootstrap docs as an example.

+

As a heads up, we include this in all of Bootstrap's documentation and examples as a demonstration.

Safari percent rounding

As of Safari v7.0.1 for OS X and Safari for iOS v7.0.1, Safari's rendering engine has some trouble with the number of decimal places used in our .col-*-1 grid classes. So if you have 12 individual grid columns, you'll notice that they come up short compared to other rows of columns. We can't do much here (see #9282) but you do have some options:

-- cgit v1.2.3 From c4a3848d57b3d9760a8057ace2fec3eb1d2362a8 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 3 May 2014 23:02:48 -0700 Subject: mark Android Firefox as officially supported --- docs/_includes/getting-started/browser-device-support.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/browser-device-support.html b/docs/_includes/getting-started/browser-device-support.html index 183bb7668..260a3d3cb 100644 --- a/docs/_includes/getting-started/browser-device-support.html +++ b/docs/_includes/getting-started/browser-device-support.html @@ -20,7 +20,7 @@ Android Supported - Not Supported + Supported N/A Not Supported N/A -- cgit v1.2.3 From d6104b11511a69fb48d1e438141f135a14c04122 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 4 May 2014 02:09:03 -0700 Subject: include RTL CSS CDN URL in Download docs --- docs/_includes/getting-started/download.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index c89c8b9e4..b457d038e 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -33,6 +33,9 @@ + + + -- cgit v1.2.3 From 04028cf6feb62471a3788cd15804e62b9ce890d7 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 4 May 2014 02:20:07 -0700 Subject: add RTL CSS files to "What's included" section of docs --- docs/_includes/getting-started/whats-included.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/whats-included.html b/docs/_includes/getting-started/whats-included.html index 8500e573c..278ebac60 100644 --- a/docs/_includes/getting-started/whats-included.html +++ b/docs/_includes/getting-started/whats-included.html @@ -17,6 +17,8 @@ bootstrap/ ├── css/ │ ├── bootstrap.css │ ├── bootstrap.min.css +│ ├── bootstrap-rtl.css +│ ├── bootstrap-rtl.min.css │ ├── bootstrap-theme.css │ └── bootstrap-theme.min.css ├── js/ -- cgit v1.2.3 From f0daa64a29a66a663f6fedb9d8687524af754436 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 7 May 2014 15:30:27 -0700 Subject: move rtl to getting started, per @cvrebert's feedback --- docs/_includes/getting-started/rtl.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/_includes/getting-started/rtl.html (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/rtl.html b/docs/_includes/getting-started/rtl.html new file mode 100644 index 000000000..55568ccd6 --- /dev/null +++ b/docs/_includes/getting-started/rtl.html @@ -0,0 +1,25 @@ +
+

RTL

+

As of Bootstrap 3.2, a right-to-left version of Bootstrap ships as part of the repository. It's powered by Twitter's CSS Flip project and is generated via our Gruntfile.

+ +

How to use

+

Bootstrap is by default a left-to-right project. For right-to-left projects, you'll need to set your language and replace the default Bootstrap CSS with an RTL version. First, set your language and text direction:

+{% highlight html %} + + +{% endhighlight %} +

Then, include the right-to-left CSS file instead of the default Bootstrap CSS:

+{% highlight html %} + + +{% endhighlight %} +

Alternatively, you may use the minified RTL file, bootstrap-rtl.min.css.

+ +
+

Do not use in combination with bootstrap.css

+

bootstrap-rtl.css must not be used together with bootstrap.css. Use either one or the other, but not both. bootstrap-rtl.css includes all of Bootstrap's styles, including those not affected by writing direction.

+
+ +

CSS Flip

+

CSS Flip is a project for converting left-to-right CSS files into right-to-left CSS files. We use it in our Gruntfile to automate the generation of Bootstrap's RTL CSS files.

+
-- cgit v1.2.3 From 5d8880fdfae7de50d867eb9695b704f50ab77775 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 7 May 2014 19:38:27 -0700 Subject: move Grunt info from README into HTML docs Fixes #13470 --- docs/_includes/getting-started/grunt.html | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/_includes/getting-started/grunt.html (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/grunt.html b/docs/_includes/getting-started/grunt.html new file mode 100644 index 000000000..93fa44a70 --- /dev/null +++ b/docs/_includes/getting-started/grunt.html @@ -0,0 +1,32 @@ +
+

Compiling CSS and JavaScript

+ +

Bootstrap uses Grunt for its build system, with convenient methods for working with the framework. It's how we compile our code, run tests, and more.

+ +

Installing Grunt

+

To install Grunt, you must first download and install node.js (which includes npm). npm stands for node packaged modules and is a way to manage development dependencies through node.js.

+ + Then, from the command line: +
    +
  1. Install grunt-cli globally with npm install -g grunt-cli.
  2. +
  3. Navigate to the root /bootstrap/ directory, then run npm install. npm will look at the package.json file and automatically install the necessary local dependencies listed there.
  4. +
+ +

When completed, you'll be able to run the various Grunt commands provided from the command line.

+ +

Available Grunt commands

+

grunt dist (Just compile CSS and JavaScript)

+

Regenerates the /dist/ directory with compiled and minified CSS and JavaScript files. As a Bootstrap user, this is normally the command you want.

+ +

grunt watch (Watch)

+

Watches the Less source files and automatically recompiles them to CSS whenever you save a change.

+ +

grunt test (Run tests)

+

Runs JSHint and runs the QUnit tests headlessly in PhantomJS.

+ +

grunt (Build absolutely everything and run tests)

+

Compiles and minifies CSS and JavaScript, builds the documentation website, runs the HTML5 validator against the docs, regenerates the Customizer assets, and more. Usually only necessary if you're hacking on Bootstrap itself.

+ +

Troubleshooting

+

Should you encounter problems with installing dependencies or running Grunt commands, first delete the /node_modules/ directory generated by npm. Then, rerun npm install.

+
-- cgit v1.2.3 From ed98b3dfc012166d01c72fc80caa0113e37b4d45 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 10 May 2014 09:22:43 +0300 Subject: Update html5shiv to 3.7.2. --- docs/_includes/getting-started/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/template.html b/docs/_includes/getting-started/template.html index de0515342..c3b1560aa 100644 --- a/docs/_includes/getting-started/template.html +++ b/docs/_includes/getting-started/template.html @@ -19,7 +19,7 @@ -- cgit v1.2.3 From be00b82bb95c6defc02a66f2d599fec56fbcaa85 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 12 May 2014 19:55:58 -0700 Subject: nuke the rtl docs --- docs/_includes/getting-started/rtl.html | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 docs/_includes/getting-started/rtl.html (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/rtl.html b/docs/_includes/getting-started/rtl.html deleted file mode 100644 index 55568ccd6..000000000 --- a/docs/_includes/getting-started/rtl.html +++ /dev/null @@ -1,25 +0,0 @@ -
-

RTL

-

As of Bootstrap 3.2, a right-to-left version of Bootstrap ships as part of the repository. It's powered by Twitter's CSS Flip project and is generated via our Gruntfile.

- -

How to use

-

Bootstrap is by default a left-to-right project. For right-to-left projects, you'll need to set your language and replace the default Bootstrap CSS with an RTL version. First, set your language and text direction:

-{% highlight html %} - - -{% endhighlight %} -

Then, include the right-to-left CSS file instead of the default Bootstrap CSS:

-{% highlight html %} - - -{% endhighlight %} -

Alternatively, you may use the minified RTL file, bootstrap-rtl.min.css.

- -
-

Do not use in combination with bootstrap.css

-

bootstrap-rtl.css must not be used together with bootstrap.css. Use either one or the other, but not both. bootstrap-rtl.css includes all of Bootstrap's styles, including those not affected by writing direction.

-
- -

CSS Flip

-

CSS Flip is a project for converting left-to-right CSS files into right-to-left CSS files. We use it in our Gruntfile to automate the generation of Bootstrap's RTL CSS files.

-
-- cgit v1.2.3 From 7a765d1f8b45dd10d40e6c9ac5ad144ff95a9b0d Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 13 May 2014 08:33:23 +0300 Subject: Update jQuery to v1.11.1. --- docs/_includes/getting-started/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/template.html b/docs/_includes/getting-started/template.html index c3b1560aa..3952621a6 100644 --- a/docs/_includes/getting-started/template.html +++ b/docs/_includes/getting-started/template.html @@ -27,7 +27,7 @@

Hello, world!

- + -- cgit v1.2.3 From d0fca8aaad4999d3389ebdada36102c89063e0f2 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 13 May 2014 09:26:24 +0300 Subject: Remove RTL leftovers. --- docs/_includes/getting-started/download.html | 3 --- docs/_includes/getting-started/whats-included.html | 2 -- 2 files changed, 5 deletions(-) (limited to 'docs/_includes/getting-started') diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index b457d038e..c89c8b9e4 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -33,9 +33,6 @@ - - - diff --git a/docs/_includes/getting-started/whats-included.html b/docs/_includes/getting-started/whats-included.html index 278ebac60..8500e573c 100644 --- a/docs/_includes/getting-started/whats-included.html +++ b/docs/_includes/getting-started/whats-included.html @@ -17,8 +17,6 @@ bootstrap/ ├── css/ │ ├── bootstrap.css │ ├── bootstrap.min.css -│ ├── bootstrap-rtl.css -│ ├── bootstrap-rtl.min.css │ ├── bootstrap-theme.css │ └── bootstrap-theme.min.css ├── js/ -- cgit v1.2.3 From 239d5e0e3905c4463651fc94a9ed175bdc2e827c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 13 May 2014 04:19:51 -0700 Subject: add link to StackOverflow question regarding Android