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
Here’s the list of Astro-related actions we identified in twbs/bootstrap#41251, which we voluntarily postponed as they were deemed lower priority:
<ScssDocs> renders // scss-docs-start and // scss-docs-end in /customize/color-modes#sass-variables and shouldn't. It's because this is a special use case where there's a // scss-docs-start sass-dark-mode-vars wrapper that can contains several // scss-docs-start theme-*-dark-variables blocks...
<ScssDocs> renders // scss-docs-start vr-variables (and // scss-docs-end) in /docs/5.3/content/typography and shouldn't
/docs/5.3/examples/dashboard-rtl/ and /docs/5.3/examples/dashboard-rtl behave differently in dev mode, depending on whether the trailing slash is present. This affects CSS and JS not loading (the local server looks for /docs/5.3/examples/dashboard.css for instance), though the issue does not occur on production, on Netlify. Please note that when you're navigating in the website by following the links, it works well.
Check Mark's feedback (March, 8) -> "One thing I've noticed is I think I need to kill server often when rebuilding Bootstrap CSS".
Possibly replace <div class="bd-example">...</div> by <Example showMarkup={false} code={...} />
Migrate to modern way of handling Astro websites (check migration guides and new features)
Switch from Prism to Shiki OR improve the syntax highlighting rendering (the colors react to light/dark mode, but aren't exactly the same as Bootstrap. It might be re-plugged or handled differently to have the same rendering)
Check Expressive Code for an accessible rendering of syntax highlighting
Add some Typescript checks such as astro check --root site, tsc -p site --noEmit
Improve ResponsiveImage.astro component to implement the equivalent of Hugo's imageConfig and calculate the width and height of the image automatically
Accessibility: find a way to add an aria-label to the anchor links in the docs (see 688d7e3). Could be suggested upstream as difficult to implement from our own code.
Check whether we need to use defer like in 45fe28c, or we keep the using scripts in site/assets/*
&& rm -rf _site && cp -r site/dist _site was temporary to make Netlify works as it checks the built content in _site. It would need a live coding session with access to the Netlify account to change that.
The text was updated successfully, but these errors were encountered:
julien-deramond
changed the title
[Tracking] Postponed actions after Astro migration
[Tracking] Postponed Astro-related actions after Astro migration
May 7, 2025
Uh oh!
There was an error while loading. Please reload this page.
Here’s the list of Astro-related actions we identified in twbs/bootstrap#41251, which we voluntarily postponed as they were deemed lower priority:
<ScssDocs>
renders// scss-docs-start
and// scss-docs-end
in /customize/color-modes#sass-variables and shouldn't. It's because this is a special use case where there's a// scss-docs-start sass-dark-mode-vars
wrapper that can contains several// scss-docs-start theme-*-dark-variables
blocks...<ScssDocs>
renders// scss-docs-start vr-variables
(and// scss-docs-end
) in /docs/5.3/content/typography and shouldn't/docs/5.3/examples/dashboard-rtl/
and/docs/5.3/examples/dashboard-rtl
behave differently in dev mode, depending on whether the trailing slash is present. This affects CSS and JS not loading (the local server looks for/docs/5.3/examples/dashboard.css
for instance), though the issue does not occur on production, on Netlify. Please note that when you're navigating in the website by following the links, it works well.<div class="bd-example">...</div>
by<Example showMarkup={false} code={
...} />
astro check --root site
,tsc -p site --noEmit
ResponsiveImage.astro
component to implement the equivalent of Hugo'simageConfig
and calculate the width and height of the image automaticallyaria-label
to the anchor links in the docs (see 688d7e3). Could be suggested upstream as difficult to implement from our own code.defer
like in 45fe28c, or we keep the using scripts insite/assets/*
&& rm -rf _site && cp -r site/dist _site
was temporary to make Netlify works as it checks the built content in_site
. It would need a live coding session with access to the Netlify account to change that.The text was updated successfully, but these errors were encountered: