Skip to content

Upgrade to Bootstrap 5.2 #470

@LisaFC

Description

@LisaFC

Bootstrap 5 has some changes that seem to break Docsy site builds #304 #464.


(Edit: @chalin)

Info: the last BSv4 build

A link to the last edition of the User Guide that was build with BSv4: https://deploy-preview-1356--docsydocs.netlify.app. This link was taken from the last PR/commit of v0.6.x.

Prep

Tasks

All of the section headings below that are hyperlinks, link to a section of the Bootstrap 5.2 migration guide of the corresponding name. A GitHub user name on a section or subsection heading declares that person as taking responsibility for making the corresponding changes to Docsy.

Dependencies - @chalin

Sass - @chalin

Customization:

Color system - @chalin

While I used to think that Color system changes were optional, I've since changed my mind. IMHO, without #1388 we would have gotten weird behavior. For details see the issue's opening comment.

Grid updates - @chalin

⚠️ The following isn't mentioned in the migration guide. Formatting of rows and columns has changed! For details, and related fixes, see:

Content, Reboot, etc - @chalin

Table styles have changed. For details, see #1473.

⏭️ RTL - @chalin

Forms

Docsy's only use of form elements is for search, and it's a very minimal. Docsy doesn't use any of the form-specific classes that were deprecated.

Components

Utilities - @chalin

Regex:

  • Margin and padding: \b([mp])[lr](-([0-5]|auto))\b
  • Left/right classes: \b((float|border|rounded|text)-)(left|right)\b

Helpers - @chalin

  • No changes necessary AFAICT.

JavaScript

Other

Post-upgrade checks / changes

Metadata

Metadata

Assignees

Labels

bootstrapbreaking changee3-weeksp1-highroadmapuse with other tags (such as `enhancement` or `example site`) to add items for roadmap review

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions