Skip to content

Commit ed5c7ba

Browse files
committed
Merge branch 'master' into docs_derp
2 parents 0b75e2d + 1d0bf58 commit ed5c7ba

File tree

11 files changed

+304
-284
lines changed

11 files changed

+304
-284
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- 0.10
3+
- "0.10"
44
before_install:
55
- time sudo pip install --use-mirrors -r test-infra/requirements.txt
66
- rvm use 1.9.3 --fuzzy

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ url: http://localhost:9001
1616
# Custom vars
1717
current_version: 3.0.3
1818
repo: https://github.com/twbs/bootstrap
19+
sass_repo: https://github.com/twbs/bootstrap-sass
1920

2021
download:
2122
source: https://github.com/twbs/bootstrap/archive/v3.0.3.zip
@@ -24,7 +25,6 @@ download:
2425

2526
blog: http://blog.getbootstrap.com
2627
expo: http://expo.getbootstrap.com
27-
sass_repo: https://github.com/twbs/bootstrap-sass
2828

2929
cdn:
3030
css: //netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css

docs/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <h1 id="community">Community</h1>
174174
<div class="page-header">
175175
<h1 id="translations">Translations</h1>
176176
</div>
177-
<p class="lead">Community members have translated Bootstrap's documentation into various langauges. None are officially supported and may not always be up to date.</p>
177+
<p class="lead">Community members have translated Bootstrap's documentation into various languages. None are officially supported and may not always be up to date.</p>
178178
<ul>
179179
<li><a href="http://v3.bootcss.com/">Bootstrap 中文文档 (Chinese)</a></li>
180180
<li><a href="http://www.oneskyapp.com/docs/bootstrap/ru">Bootstrap по-русски (Russian)</a></li>

docs/assets/js/application.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
'@-ms-viewport{width:auto!important}'
2525
)
2626
);
27-
document.getElementsByTagName('head')[0].
27+
document.querySelector('head').
2828
appendChild(msViewportStyle);
2929
}
3030

docs/components.html

Lines changed: 179 additions & 165 deletions
Large diffs are not rendered by default.

docs/css.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,7 @@ <h3 id="helper-classes-show-hide">Showing and hiding content</h3>
25522552

25532553

25542554
<h3 id="helper-classes-screen-readers">Screen reader content</h3>
2555-
<p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Necessary for following <a href="{{ site.baseurl }}getting-started#accessibility">accessibility best practices</a>. Can also be used as a mixin.</p>
2555+
<p>Hide an element to all devices <strong>except screen readers</strong> with <code>.sr-only</code>. Necessary for following <a href="../getting-started/#accessibility">accessibility best practices</a>. Can also be used as a mixin.</p>
25562556
{% highlight html %}
25572557
<a class="sr-only" href="#content">Skip to main content</a>
25582558
{% endhighlight %}
@@ -2820,15 +2820,15 @@ <h1>Using Less</h1>
28202820
</div>
28212821
<p class="lead">Bootstrap's CSS is built on Less, a preprocessor with additional functionality like variables, mixins, and functions for compiling CSS. Those looking to use the source Less files instead of our compiled CSS files can make use of the numerous variables and mixins we use throughout the framework.</p>
28222822

2823-
<p>Grid variables and mixins are covered <a href="{{ site.baseurl }}css/#grid-less">within the Grid system section</a>.</p>
2823+
<p>Grid variables and mixins are covered <a href="#grid-less">within the Grid system section</a>.</p>
28242824

28252825

28262826
<h2 id="less-bootstrap">Compiling Bootstrap</h2>
28272827
<p>Bootstrap can be used in at least two ways: with the compiled CSS or with the source LESS files. To compile the LESS files, <a href="https://github.com/twbs/bootstrap#compiling-css-and-javascript">visit the README</a> for how to setup your development environment to run the necessary commands.</p>
28282828
<p>Third party compilation tools may work with Bootstrap, but they are not supported by our core team.</p>
28292829

28302830
<h2 id="less-variables">Variables</h2>
2831-
<p>Variables are used throughout the entire project as a way to centralize and share commonly used values like colors, spacing, or font stacks. For a complete breakdown, please see <a href="{{ site.baseurl }}customize/#less-variables-section">the Customizer</a>.</p>
2831+
<p>Variables are used throughout the entire project as a way to centralize and share commonly used values like colors, spacing, or font stacks. For a complete breakdown, please see <a href="../customize/#less-variables-section">the Customizer</a>.</p>
28322832

28332833
<h3 id="less-variables-colors">Colors</h3>
28342834
<p>Easily make use of two color schemes: grayscale and semantic. Grayscale colors provide quick access to commonly used shades of black while semantic include various colors assigned to meaningful contextual values.</p>
@@ -3466,7 +3466,7 @@ <h3 id="sass-usage-sass">Sass</h3>
34663466
@import "bootstrap/theme";
34673467
{% endhighlight %}
34683468

3469-
<p>The full list of Bootstrap variables can be found <a href="{{ page.url }}customize/#less-variables">in the Customizer</a>. You can override these by simply redefining the variable before the <code>@import</code> directive, e.g.:</p>
3469+
<p>The full list of Bootstrap variables can be found <a href="../customize/#less-variables">in the Customizer</a>. You can override these by simply redefining the variable before the <code>@import</code> directive, e.g.:</p>
34703470

34713471
{% highlight sass %}
34723472
$navbar-default-bg: #312312;

docs/examples/dashboard/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
<div class="container-fluid">
5757
<div class="row">
58-
<div class="col-sm-3 sidebar">
58+
<div class="col-sm-3 col-md-2 sidebar">
5959
<ul class="nav nav-sidebar">
6060
<li class="active"><a href="#">Overview</a></li>
6161
<li><a href="#">Reports</a></li>
@@ -75,7 +75,7 @@
7575
<li><a href="">Another nav item</a></li>
7676
</ul>
7777
</div>
78-
<div class="col-sm-9 col-sm-offset-3 main">
78+
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
7979
<h1 class="page-header">Dashboard</h1>
8080

8181
<div class="row placeholders">

docs/examples/navbar/index.html

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -32,39 +32,41 @@
3232

3333
<!-- Static navbar -->
3434
<div class="navbar navbar-default" role="navigation">
35-
<div class="navbar-header">
36-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
37-
<span class="sr-only">Toggle navigation</span>
38-
<span class="icon-bar"></span>
39-
<span class="icon-bar"></span>
40-
<span class="icon-bar"></span>
41-
</button>
42-
<a class="navbar-brand" href="#">Project name</a>
43-
</div>
44-
<div class="navbar-collapse collapse">
45-
<ul class="nav navbar-nav">
46-
<li class="active"><a href="#">Link</a></li>
47-
<li><a href="#">Link</a></li>
48-
<li><a href="#">Link</a></li>
49-
<li class="dropdown">
50-
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
51-
<ul class="dropdown-menu">
52-
<li><a href="#">Action</a></li>
53-
<li><a href="#">Another action</a></li>
54-
<li><a href="#">Something else here</a></li>
55-
<li class="divider"></li>
56-
<li class="dropdown-header">Nav header</li>
57-
<li><a href="#">Separated link</a></li>
58-
<li><a href="#">One more separated link</a></li>
59-
</ul>
60-
</li>
61-
</ul>
62-
<ul class="nav navbar-nav navbar-right">
63-
<li class="active"><a href="./">Default</a></li>
64-
<li><a href="../navbar-static-top/">Static top</a></li>
65-
<li><a href="../navbar-fixed-top/">Fixed top</a></li>
66-
</ul>
67-
</div><!--/.nav-collapse -->
35+
<div class="container-fluid">
36+
<div class="navbar-header">
37+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
38+
<span class="sr-only">Toggle navigation</span>
39+
<span class="icon-bar"></span>
40+
<span class="icon-bar"></span>
41+
<span class="icon-bar"></span>
42+
</button>
43+
<a class="navbar-brand" href="#">Project name</a>
44+
</div>
45+
<div class="navbar-collapse collapse">
46+
<ul class="nav navbar-nav">
47+
<li class="active"><a href="#">Link</a></li>
48+
<li><a href="#">Link</a></li>
49+
<li><a href="#">Link</a></li>
50+
<li class="dropdown">
51+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
52+
<ul class="dropdown-menu">
53+
<li><a href="#">Action</a></li>
54+
<li><a href="#">Another action</a></li>
55+
<li><a href="#">Something else here</a></li>
56+
<li class="divider"></li>
57+
<li class="dropdown-header">Nav header</li>
58+
<li><a href="#">Separated link</a></li>
59+
<li><a href="#">One more separated link</a></li>
60+
</ul>
61+
</li>
62+
</ul>
63+
<ul class="nav navbar-nav navbar-right">
64+
<li class="active"><a href="./">Default</a></li>
65+
<li><a href="../navbar-static-top/">Static top</a></li>
66+
<li><a href="../navbar-fixed-top/">Fixed top</a></li>
67+
</ul>
68+
</div><!--/.nav-collapse -->
69+
</div><!--/.container-fluid -->
6870
</div>
6971

7072
<!-- Main component for a primary marketing message or call to action -->

docs/getting-started.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ <h2 id="whats-included-source">Bootstrap source code</h2>
111111
<div class="page-header">
112112
<h1 id="template">Basic template</h1>
113113
</div>
114-
<p class="lead">Start with this basic HTML template, or modify <a href="../getting-started#examples">these examples</a>. We hope you'll customize our templates and examples, adapting them to suit your needs.</p>
114+
<p class="lead">Start with this basic HTML template, or modify <a href="#examples">these examples</a>. We hope you'll customize our templates and examples, adapting them to suit your needs.</p>
115115

116116
<p>Copy the HTML below to begin working with a minimal Bootstrap document.</p>
117117
{% highlight html %}
@@ -294,7 +294,7 @@ <h3 id="examples-experiments">Experiments</h3>
294294
<img src="../examples/screenshots/non-responsive.jpg" alt="">
295295
</a>
296296
<h4>Non-responsive Bootstrap</h4>
297-
<p>Easily disable the responsiveness of Bootstrap <a href="../getting-started/#disable-responsive">per our docs</a>.</p>
297+
<p>Easily disable the responsiveness of Bootstrap <a href="#disable-responsive">per our docs</a>.</p>
298298
</div>
299299
<div class="col-xs-6 col-md-4">
300300
<a class="thumbnail" href="../examples/offcanvas/">
@@ -857,7 +857,7 @@ <h3 id="support-ie10-width">Internet Explorer 10 in Windows 8 and Windows Phone
857857
"@-ms-viewport{width:auto!important}"
858858
)
859859
)
860-
document.getElementsByTagName("head")[0].appendChild(msViewportStyle)
860+
document.querySelector("head").appendChild(msViewportStyle)
861861
}
862862
{% endhighlight %}
863863
<p>For more information and usage guidelines, read <a href="http://timkadlec.com/2013/01/windows-phone-8-and-device-width/">Windows Phone 8 and Device-Width</a>.</p>
@@ -1007,12 +1007,12 @@ <h4>It permits you to:</h4>
10071007
<li>Freely download and use Bootstrap, in whole or in part, for personal, private, company internal, or commercial purposes</li>
10081008
<li>Use Bootstrap in packages or distributions that you create</li>
10091009
<li>Modify the source code</li>
1010-
<li>Grant a sublicense to modify and distribute Bootstrap to third parties not included in the lincense</li>
1010+
<li>Grant a sublicense to modify and distribute Bootstrap to third parties not included in the license</li>
10111011
</ul>
10121012

10131013
<h4>It forbids you to:</h4>
10141014
<ul>
1015-
<li>Hold the authors and license owners liable for damanges as Bootstrap is provided without warranty</li>
1015+
<li>Hold the authors and license owners liable for damages as Bootstrap is provided without warranty</li>
10161016
<li>Hold the creators or copyright holders of Bootstrap liable</li>
10171017
<li>Redistribute any piece of Bootstrap without proper attribution</li>
10181018
<li>Use any marks owned by Twitter in any way that might state or imply that Twitter endorses your distribution</li>

0 commit comments

Comments
 (0)