From: Patrick H. Lauke Date: Sat, 27 Jun 2020 18:31:59 +0000 (+0100) Subject: Docs: rename form checks page to "Checks / radios" (#31090) X-Git-Tag: v5.0.0-alpha2~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490acf60ca149e88e669f2b3f157dd326dad9573;p=thirdparty%2Fbootstrap.git Docs: rename form checks page to "Checks / radios" (#31090) * 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 --- 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 a8b3666258..6d8bdf3860 100644 --- a/site/content/docs/5.0/forms/checks.md +++ b/site/content/docs/5.0/forms/checks-radios.md @@ -1,8 +1,9 @@ --- 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 +aliases: "/docs/5.0/forms/checks/" toc: true --- diff --git a/site/content/docs/5.0/forms/overview.md b/site/content/docs/5.0/forms/overview.md index 22ff29daf6..1eb4cce594 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. diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index a366abb933..b334a80f40 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 4864085c0f..195cf3af3b 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