]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename Navs to Navs and Tabs (#31965)
authorMark Otto <markd.otto@gmail.com>
Sun, 25 Oct 2020 20:29:58 +0000 (13:29 -0700)
committerGitHub <noreply@github.com>
Sun, 25 Oct 2020 20:29:58 +0000 (20:29 +0000)
* 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 <redux@splintered.co.uk>
site/content/docs/5.0/components/button-group.md
site/content/docs/5.0/components/card.md
site/content/docs/5.0/components/navs-tabs.md [moved from site/content/docs/5.0/components/navs.md with 99% similarity]
site/content/docs/5.0/components/scrollspy.md
site/content/docs/5.0/migration.md
site/data/sidebar.yml

index 7a5992bbc73fee4285ae59f26203ef266fb3c6d9..b7f700c05f333cf070a28a8e14f1049267587ec9 100644 (file)
@@ -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">
index baa645be7c480937c521faf696c7741bfec942e6..cb25187bd1d7cad1c1514ff2cd4244d74062146d 100644 (file)
@@ -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">
similarity index 99%
rename from site/content/docs/5.0/components/navs.md
rename to site/content/docs/5.0/components/navs-tabs.md
index 0e74443f7ca0d2124c657fdc324e2e057edd4ec8..d21837e2511b648a64de6f0789e18caa480264a5 100644 (file)
@@ -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
 ---
 
index 57a12edc47d4f41f1fdefd0384868bbe54c675f0..5579786370a9bfe52c92cec29e8283cafbc01f48 100644 (file)
@@ -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`.
 
index 6e5734854b2c45d793d3d81f4ebfb3e75e813188..539f04821b89fa19701d6b877ca879b6b5b67298 100644 (file)
@@ -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
index 5ff66041a7cab5b37e09547b723a85d456834056..a751ccbfc5b87a60dfe229f58129e1441f5821ad 100644 (file)
@@ -65,7 +65,7 @@
     - title: Dropdowns
     - title: List group
     - title: Modal
-    - title: Navs
+    - title: Navs & tabs
     - title: Navbar
     - title: Pagination
     - title: Popovers