From e0cfc3f12dce0c31d375d926eed3e3c6a1e2851f Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Thu, 18 Jun 2020 09:33:03 +0100 Subject: [PATCH 1/4] Docs: rename form checks page to "Checks / radios" it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless --- site/content/docs/5.0/forms/{checks.md => checks-radios.md} | 2 +- site/content/docs/5.0/migration.md | 2 +- site/data/sidebar.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename site/content/docs/5.0/forms/{checks.md => checks-radios.md} (99%) diff --git a/site/content/docs/5.0/forms/checks.md b/site/content/docs/5.0/forms/checks-radios.md similarity index 99% rename from site/content/docs/5.0/forms/checks.md rename to site/content/docs/5.0/forms/checks-radios.md index a8b366625861..a1f8095df08f 100644 --- a/site/content/docs/5.0/forms/checks.md +++ b/site/content/docs/5.0/forms/checks-radios.md @@ -1,6 +1,6 @@ --- layout: docs -title: Checks +title: Checks and radios description: Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component. group: forms toc: true diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index a4df01fe3c7c..30be6e092d8e 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -150,7 +150,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be ### Buttons -- The checkbox/radio toggle is removed from the button plugin in favour of a CSS only solution, which is documented in the [form checks]({{< docsref "/forms/checks#toggle-buttons" >}}) docs. The `.btn-check` class can be added to inputs, any label with `.btn` and modifier class can be used to theme the labels. [See #30650](https://github.com/twbs/bootstrap/pull/30650). +- The checkbox/radio toggle is removed from the button plugin in favour of a CSS only solution, which is documented in the [form checks and radios]({{< docsref "/forms/checks-radios#toggle-buttons" >}}) docs. The `.btn-check` class can be added to inputs, any label with `.btn` and modifier class can be used to theme the labels. [See #30650](https://github.com/twbs/bootstrap/pull/30650). ### Cards diff --git a/site/data/sidebar.yml b/site/data/sidebar.yml index 4864085c0ff3..ae9df272fee8 100644 --- a/site/data/sidebar.yml +++ b/site/data/sidebar.yml @@ -44,7 +44,7 @@ - title: Overview - title: Form control - title: Select - - title: Checks + - title: Checks / radios - title: File - title: Range - title: Input group From 2246225d7f295a0e00eb9d59dbb75d54f59a05e0 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 19 Jun 2020 15:38:04 +0100 Subject: [PATCH 2/4] Tweak sidebar.yml title for renamed page see if "&" works better than "/" (without need for further tweaks) --- site/data/sidebar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/data/sidebar.yml b/site/data/sidebar.yml index ae9df272fee8..195cf3af3bf4 100644 --- a/site/data/sidebar.yml +++ b/site/data/sidebar.yml @@ -44,7 +44,7 @@ - title: Overview - title: Form control - title: Select - - title: Checks / radios + - title: Checks & radios - title: File - title: Range - title: Input group From 5ef17177a36d89412ec57ddd240e39e385c18038 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Fri, 19 Jun 2020 21:36:01 +0100 Subject: [PATCH 3/4] Update overview sections title --- site/content/docs/5.0/forms/overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/5.0/forms/overview.md b/site/content/docs/5.0/forms/overview.md index 22ff29daf6ce..1eb4cce5942b 100644 --- a/site/content/docs/5.0/forms/overview.md +++ b/site/content/docs/5.0/forms/overview.md @@ -10,7 +10,7 @@ sections: description: Style textual inputs and textareas with support for multiple states. - title: Select description: Improve browser default select elements with a custom initial appearance. - - title: Checks + - title: Checks & radios description: Use our custom radio buttons and checkboxes in forms for selecting input options. - title: File description: Replace browser default file inputs with our custom version with optional JavaScript. From 868c0c0fdf5f0d6653739f14bdb7fb6355f6c090 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sat, 27 Jun 2020 19:19:37 +0100 Subject: [PATCH 4/4] Add alias/redirect --- site/content/docs/5.0/forms/checks-radios.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/5.0/forms/checks-radios.md b/site/content/docs/5.0/forms/checks-radios.md index a1f8095df08f..6d8bdf3860c1 100644 --- a/site/content/docs/5.0/forms/checks-radios.md +++ b/site/content/docs/5.0/forms/checks-radios.md @@ -3,6 +3,7 @@ layout: docs title: Checks and radios description: Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component. group: forms +aliases: "/docs/5.0/forms/checks/" toc: true ---