aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-10-25 13:29:58 -0700
committerGitHub <[email protected]>2020-10-25 20:29:58 +0000
commit1b6caf69c2ab66bd6d2517845f9165e57cdc5058 (patch)
treed57656671650444ba9208492766848bb550f1e87
parented3097d1458abd0492519d2f5cee06e917f4028b (diff)
downloadbootstrap-1b6caf69c2ab66bd6d2517845f9165e57cdc5058.tar.xz
bootstrap-1b6caf69c2ab66bd6d2517845f9165e57cdc5058.zip
Rename Navs to Navs and Tabs (#31965)
* Rename Navs to Navs and Tabs Fixes #31378 * Add title to renamed file * Update navs-tabs.md * Add alias/redirect * Fix references to renamed file, tweak title Co-authored-by: Patrick H. Lauke <[email protected]>
-rw-r--r--site/content/docs/5.0/components/button-group.md2
-rw-r--r--site/content/docs/5.0/components/card.md2
-rw-r--r--site/content/docs/5.0/components/navs-tabs.md (renamed from site/content/docs/5.0/components/navs.md)3
-rw-r--r--site/content/docs/5.0/components/scrollspy.md2
-rw-r--r--site/content/docs/5.0/migration.md1
-rw-r--r--site/data/sidebar.yml2
6 files changed, 7 insertions, 5 deletions
diff --git a/site/content/docs/5.0/components/button-group.md b/site/content/docs/5.0/components/button-group.md
index 7a5992bbc..b7f700c05 100644
--- a/site/content/docs/5.0/components/button-group.md
+++ b/site/content/docs/5.0/components/button-group.md
@@ -26,7 +26,7 @@ In order for assistive technologies (such as screen readers) to convey that a se
In addition, groups and toolbars should be given an explicit label, as most assistive technologies will otherwise not announce them, despite the presence of the correct role attribute. In the examples provided here, we use `aria-label`, but alternatives such as `aria-labelledby` can also be used.
{{< /callout >}}
-These classes can also be added to groups of links, as an alternative to the [`.nav` navigation components]({{< docsref "/components/navs" >}}).
+These classes can also be added to groups of links, as an alternative to the [`.nav` navigation components]({{< docsref "/components/navs-tabs" >}}).
{{< example >}}
<div class="btn-group">
diff --git a/site/content/docs/5.0/components/card.md b/site/content/docs/5.0/components/card.md
index baa645be7..cb25187bd 100644
--- a/site/content/docs/5.0/components/card.md
+++ b/site/content/docs/5.0/components/card.md
@@ -296,7 +296,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
## Navigation
-Add some navigation to a card's header (or block) with Bootstrap's [nav components]({{< docsref "/components/navs" >}}).
+Add some navigation to a card's header (or block) with Bootstrap's [nav components]({{< docsref "/components/navs-tabs" >}}).
{{< example >}}
<div class="card text-center">
diff --git a/site/content/docs/5.0/components/navs.md b/site/content/docs/5.0/components/navs-tabs.md
index 0e74443f7..d21837e25 100644
--- a/site/content/docs/5.0/components/navs.md
+++ b/site/content/docs/5.0/components/navs-tabs.md
@@ -1,8 +1,9 @@
---
layout: docs
-title: Navs
+title: Navs and tabs
description: Documentation and examples for how to use Bootstrap's included navigation components.
group: components
+aliases: "/docs/5.0/components/navs/"
toc: true
---
diff --git a/site/content/docs/5.0/components/scrollspy.md b/site/content/docs/5.0/components/scrollspy.md
index 57a12edc4..557978637 100644
--- a/site/content/docs/5.0/components/scrollspy.md
+++ b/site/content/docs/5.0/components/scrollspy.md
@@ -10,7 +10,7 @@ toc: true
Scrollspy has a few requirements to function properly:
-- It must be used on a Bootstrap [nav component]({{< docsref "/components/navs" >}}) or [list group]({{< docsref "/components/list-group" >}}).
+- It must be used on a Bootstrap [nav component]({{< docsref "/components/navs-tabs" >}}) or [list group]({{< docsref "/components/list-group" >}}).
- Scrollspy requires `position: relative;` on the element you're spying on, usually the `<body>`.
- Anchors (`<a>`) are required and must point to an element with that `id`.
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md
index 6e5734854..539f04821 100644
--- a/site/content/docs/5.0/migration.md
+++ b/site/content/docs/5.0/migration.md
@@ -31,6 +31,7 @@ toc: true
### Docs
+- Renamed "Navs" page to "Navs & Tabs"
- Renamed "Screen readers" helper page to "Visually hidden", and filename to `visually-hidden`
- Renamed "Checks" page to "Checks & radios", and filename to `checks-radios`
- Improved documentation of check/radio powered button groups
diff --git a/site/data/sidebar.yml b/site/data/sidebar.yml
index 5ff66041a..a751ccbfc 100644
--- a/site/data/sidebar.yml
+++ b/site/data/sidebar.yml
@@ -65,7 +65,7 @@
- title: Dropdowns
- title: List group
- title: Modal
- - title: Navs
+ - title: Navs & tabs
- title: Navbar
- title: Pagination
- title: Popovers