Skip to content

Remove files orphaned by the 11ty retirement - #5872

Open
ZJvandeWeg wants to merge 2 commits into
mainfrom
zj-remove-11ty-orphans
Open

ZJvandeWeg wants to merge 2 commits into
mainfrom
zj-remove-11ty-orphans

Conversation

@ZJvandeWeg

Copy link
Copy Markdown
Member

Description

Follow-up to #5795. Now that Nuxt serves every route, these files have no references left:

  • 254 assets under nuxt/public/: old blog and handbook images (including the 12.8 MB handbook/images/git-how-to GIFs), the images from before the Application Guide moved under /docs/, and unused pictograms
  • 62 SVGs in nuxt/assets/nav-icons/ that nuxt/utils/navIcons.ts never imports
  • Components use-case/Links.vue, icons/ArrowRightIcon.vue, icons/CarIcon.vue
  • Stylesheets roadmap.css, zoom-style.css and style.animations.css, plus their @imports (the page they styled is gone, the library isn't installed, and the classes aren't used)
  • isSearchPage in lib/search-index.js, which read 11ty collection items
  • @netlify/blobs: nothing imports it and nothing configures the netlify-blobs storage driver

Also fixed:

  • CODEOWNERS: dropped the entry for handbook/development, which doesn't exist, and pointed the customer-success rule at its current path under sales/
  • .claude/CLAUDE.md: the icon note now says only pulse and uns exist in both icon folders

Each asset was checked for references by full path, relative path, URL-encoded path and bare filename. The search covered this repo, the flowfuse/flowfuse docs and the blueprint library, and allowed for paths built at build time (home logos, hero config, team headshots).

Not included: 27 unreferenced files in the /images/ root and /whitepaper/images/, such as the HubSpot newsletter header and the logo wordmarks. They could be linked from emails or other sites, so they need checking by hand first.

npm test passes and the PostCSS build still compiles. I haven't run a full Nuxt build locally, so the deploy preview is the check for that.

Related Issue(s)

#5795

Checklist

  • I have read the contribution guidelines
  • I have considered the performance impact of these changes
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
  • For blog PRs, an Art Request has been created (instructions)

Nothing references any of these since Nuxt took over every route:

- 254 assets under nuxt/public (old blog/handbook images, the pre-docs
  application-guide images, unused pictograms, etc.)
- 62 nav-icons SVGs that nuxt/utils/navIcons.ts never imports
- UseCaseLinks, IconsArrowRightIcon and IconsCarIcon components
- roadmap.css, zoom-style.css and style.animations.css, with their imports
- isSearchPage in lib/search-index.js, which read 11ty collection items

CODEOWNERS drops the non-existent handbook/development entry and points the
customer-success rule at its current path under sales/.

Unreferenced files that could still be linked from outside the site
(/images root files and /whitepaper images) are kept for a manual check.
No source imports it and no storage config uses the netlify-blobs driver;
the build cache uses unstorage's fs-lite driver.
@ZJvandeWeg
ZJvandeWeg requested review from a team and Yndira-E as code owners September 26, 2026 15:10
@netlify

netlify Bot commented Sep 26, 2026

Copy link
Copy Markdown

👷 Deploy Preview for flowfuse-website processing.

Name Link
🔨 Latest commit 19a506d
🔍 Latest deploy log https://app.netlify.com/projects/flowfuse-website/deploys/6ab7e064e8825700081293de

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant