Skip to content

Docs: Remove outdated card dependency reference from accordion/collapse parent option - #42949

Merged
julien-deramond merged 2 commits into
twbs:v5-devfrom
Rawal27:fix-content-docs-components
Oct 11, 2026
Merged

julien-deramond merged 2 commits into
twbs:v5-devfrom
Rawal27:fix-content-docs-components

Conversation

@Rawal27

@Rawal27 Rawal27 commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Description

Remove the outdated reference to the card class from the parent option description in the Collapse and Accordion documentation.

The parent option provides accordion-like group management by closing other collapsible elements under the specified parent. The card class is not a requirement for this behavior, so the outdated dependency reference has been removed.

Changes

  • Remove the outdated card class reference from site/src/content/docs/components/collapse.mdx.
  • Remove the same reference from site/src/content/docs/components/accordion.mdx.

No functional or behavioral changes are introduced.

…ption

Signed-off-by: Rawal27 <obviouslykamal@gmail.com>
@mdo mdo added docs Documentation site and its content v5 v5, the v5-dev branch labels Sep 29, 2026
@mdo mdo added this to v5.4.0 Sep 29, 2026
@github-project-automation github-project-automation Bot moved this to Needs review in v5.4.0 Sep 29, 2026

@julien-deramond julien-deramond left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I checked js/src/collapse.js: the parent behavior only relies on the .collapse.show / .collapse.collapsing elements under the parent, not on .card, so the parenthesis was indeed outdated. LGTM.

For the record, the same sentence is still in the v6 collapse docs on main. I'll handle that separately.

@github-project-automation github-project-automation Bot moved this from Needs review to Ready to merge in v5.4.0 Oct 11, 2026
@julien-deramond
julien-deramond merged commit aac73bb into twbs:v5-dev Oct 11, 2026
7 checks passed
@julien-deramond julien-deramond added the backport-to-v6 Merged on v5, to backport to v6 label Oct 11, 2026
@julien-deramond julien-deramond added the backport-done The backport is merged label Oct 11, 2026
@mdo mdo removed this from v5.4.0 Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-done The backport is merged backport-to-v6 Merged on v5, to backport to v6 docs Documentation site and its content v5 v5, the v5-dev branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants