Skip to content

Commit a617c80

Browse files
author
Quy Ton
committed
Fix anchor links
1 parent 11f56bb commit a617c80

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/components.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ <h2 id="navbar-forms">Forms</h2>
14211421

14221422
<div class="bs-callout bs-callout-warning">
14231423
<h4>Mobile device caveats</h4>
1424-
<p>There are some caveats regarding using form controls within fixed elements on mobile devices. <a href="../getting-started#support-fixed-position-keyboards">See our browser support docs</a> for details.</p>
1424+
<p>There are some caveats regarding using form controls within fixed elements on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p>
14251425
</div>
14261426

14271427
<div class="bs-callout bs-callout-danger">
@@ -1454,7 +1454,7 @@ <h2 id="navbar-buttons">Buttons</h2>
14541454

14551455
<div class="bs-callout bs-callout-warning">
14561456
<h4>Context-specific usage</h4>
1457-
<p>Like the standard <a href="../css#buttons">button classes</a>, <code>.navbar-btn</code> can be used on <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code>&lt;a&gt;</code> elements within <code>.navbar-nav</code>.</p>
1457+
<p>Like the standard <a href="../css/#buttons">button classes</a>, <code>.navbar-btn</code> can be used on <code>&lt;a&gt;</code> and <code>&lt;input&gt;</code> elements. However, neither <code>.navbar-btn</code> nor the standard button classes should be used on <code>&lt;a&gt;</code> elements within <code>.navbar-nav</code>.</p>
14581458
</div>
14591459

14601460
<h2 id="navbar-text">Text</h2>

docs/css.html

Lines changed: 1 addition & 1 deletion
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="../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 %}

docs/getting-started.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h2 id="whats-included-source">Bootstrap source code</h2>
115115
<div class="page-header">
116116
<h1 id="template">Basic template</h1>
117117
</div>
118-
<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>
118+
<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>
119119

120120
<p>Copy the HTML below to begin working with a minimal Bootstrap document.</p>
121121
{% highlight html %}
@@ -289,7 +289,7 @@ <h4>Blog</h4>
289289
<img src="../examples/screenshots/non-responsive.jpg" alt="">
290290
</a>
291291
<h4>Non-responsive Bootstrap</h4>
292-
<p>Easily disable the responsiveness of Bootstrap <a href="../getting-started/#disable-responsive">per our docs</a>.</p>
292+
<p>Easily disable the responsiveness of Bootstrap <a href="#disable-responsive">per our docs</a>.</p>
293293
</div>
294294
<div class="col-xs-6 col-md-4">
295295
<a class="thumbnail" href="../examples/theme/">

docs/javascript.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ <h4>Overlapping modals not supported</h4>
109109
</div>
110110
<div class="bs-callout bs-callout-warning">
111111
<h4>Mobile device caveats</h4>
112-
<p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started#fixed-position-keyboards">See our browser support docs</a> for details.</p>
112+
<p>There are some caveats regarding using modals on mobile devices. <a href="../getting-started/#support-fixed-position-keyboards">See our browser support docs</a> for details.</p>
113113
</div>
114114

115115
<h3>Static example</h3>
@@ -795,7 +795,7 @@ <h2 id="tabs-usage">Usage</h2>
795795
{% endhighlight %}
796796

797797
<h3>Markup</h3>
798-
<p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="../components#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="../components#nav-pills">pill styling</a>.</p>
798+
<p>You can activate a tab or pill navigation without writing any JavaScript by simply specifying <code>data-toggle="tab"</code> or <code>data-toggle="pill"</code> on an element. Adding the <code>nav</code> and <code>nav-tabs</code> classes to the tab <code>ul</code> will apply the Bootstrap <a href="../components/#nav-tabs">tab styling</a>, while adding the <code>nav</code> and <code>nav-pills</code> classes will apply <a href="../components/#nav-pills">pill styling</a>.</p>
799799
{% highlight html %}
800800
<!-- Nav tabs -->
801801
<ul class="nav nav-tabs">

0 commit comments

Comments
 (0)