Skip to content

chore(assets): update build script#3697

Open
louismaximepiton wants to merge 1 commit into
mainfrom
main-lmp-zip-examples
Open

chore(assets): update build script#3697
louismaximepiton wants to merge 1 commit into
mainfrom
main-lmp-zip-examples

Conversation

@louismaximepiton

@louismaximepiton louismaximepiton commented Jul 20, 2026

Copy link
Copy Markdown
Member

Types of change

  • Non-breaking change
  • Breaking change (fix or feature that would change existing functionality and usage)

Related issues

Closes #3671

Context & Motivation

See #3671

Description

Change the build script unchanged when we made the docs structure changes.

Checklists

  • I have read the contributing guidelines
  • My change follows the developer guide
  • My change pass all tests
  • My change is compatible with a responsive display
  • I have added tests (Javascript unit test or visual) to cover my changes
  • My change introduces changes to the documentation that I have updated accordingly
    • Title and DOM structure is correct
    • Links have been updated (title changes impact links)
    • CSS for the documentation
  • I have checked all states and combinations of the component with my change
  • I have checked all the impacts for the other components and core behavior (grid, reboot, utilities)

Checklist (for Core Team only)

  • The changes need to be in the migration guide
  • The changes are well displayed in Storybook (be careful if example order has changed for DSM)
  • The changes are compatible with RTL
  • Manually test browser compatibility with BrowserStack (Chrome 120, Firefox 121, Edge 120, Safari 15.6, iOS Safari, Chrome & Firefox on Android)

Progression (for Core Team only)

Live previews

@netlify

netlify Bot commented Jul 20, 2026

Copy link
Copy Markdown

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 3ce67aa
🔍 Latest deploy log https://app.netlify.com/projects/boosted/deploys/6a5e18c31c5d1f0008ca6f2a
😎 Deploy Preview https://deploy-preview-3697--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to fix broken assets/links in the “examples zip” output after the documentation structure changed to a brand-prefixed versioned path, and includes a small docs/resources link correction plus an examples JS global rename.

Changes:

  • Update build/zip-examples.mjs to package additional CSS outputs and to restructure the zip contents under <brand>/docs/<version>/....
  • Update HTML rewriting in the zip process (path/integrity handling) to adapt to the new docs structure.
  • Fix an external link in resources.astro and update the download-app example JS to use the oudsWeb global.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
site/src/pages/resources.astro Fixes the Boosted website URL.
site/src/assets/examples/download-app/download-app.js Switches the example JS to use the oudsWeb global for Carousel instantiation.
build/zip-examples.mjs Updates the examples zip layout and asset copying logic to follow the new docs folder structure.

Comment thread build/zip-examples.mjs
Comment on lines +101 to +102
.replaceAll(new RegExp(`"/docs/${versionShort}/`, 'g'), '"../')
.replaceAll(/"..\/dist\//g, `"../${brand}/docs/${versionShort}/assets/dist/`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Need Dev Review

Development

Successfully merging this pull request may close these issues.

Examples zip issue

3 participants