You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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
Drop jQuery #1436
✅ Sass - @chalin
color-yiq()function and related variables tocolor-contrast(), etc. For details, see corresponding Sass entry:media-breakpoint-down()change argument to be next breakpoint of higher value[BSv5] Adjust media-breakpoint-down() argument #1367
Projects will have to make a similar change to their styles.
$enable-print-stylesN/Acolor()etc. N/Acolor-leveletc. N/Areduced-motionetc. N/Abg-gradient-variant()is gone, etc.bg-gradient-variant()mixin #1369scale-colorN/ACustomization:
✅ 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.
This change only needs to be done by Docsy, not projects using Docsy.
✅ Grid updates - @chalin
position: relativeapplied ....order-*classes that often went unused (beyond 5 it seems). N/A.mediacomponent. Regex:\b(^|[^@])media($|[^-])✅ Content, Reboot, etc - @chalin
display-*typography has changed (this is why the "Welcome to Docsy" on the homepage looks so different).$display*variables have been replaced.Table styles have changed. For details, see #1473.
⏭️ RTL - @chalin
✅ Forms
Docsy's only use of
formelements is for search, and it's a very minimal. Docsy doesn't use any of the form-specific classes that were deprecated.✅ Components
bg-gradient-variant()mixin #1369.$enable-roundedvariable #1452--bs-breadcrumb-dividerfor easy customization)<li>s -[BS5] Adjust HTML of dropdowns for version and lang #1415
.activeclass can no longer be applied to.nav-item- N/A.arrowto.popover-arrow- [BSv5] Offline-search adjust arrow class name #1427✅ Utilities - @chalin
Regex:
\b([mp])[lr](-([0-5]|auto))\b\b((float|border|rounded|text)-)(left|right)\b✅ Helpers - @chalin
✅ JavaScript
Other
Post-upgrade checks / changes