Skip to content

Cleanup - Remove unused images from static/img/ #5530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

kimsauce
Copy link
Collaborator

@kimsauce kimsauce commented Jun 27, 2025

Purpose of this pull request

Reviewers, this will only need a spot check, as there are so many files. To spot check, you could cross-check the deleted files list with the Google Sheets file here.

This PR removes unused image assets from the static/img/ directory to streamline the repo, reduce site build times, reduce repo size and clutter, minimize the chance of stale or duplicated assets.

What was done. Identified unused images by comparing all files in static/img/ against references in:

  • Markdown and MDX files (docs/)
  • JSX/TSX/JS/TS files (src/, pages/, etc.)
  • docusaurus.config.js and other config files
  • Verified that flagged images were not used in any documentation or UI source files
  • Removed 1000+ unused image files based on this validation

Note for contributors. To avoid image duplication in the future, please upload once and reference them wherever needed. No need to duplicate across subfolders.

Select the type of change

  • Minor Changes - Typos, formatting, slight revisions
  • Update Content - Revisions, updating sections
  • New Content - New features, sections, pages, tutorials
  • Site and Tools - .clabot, version updates, maintenance, dependencies, new packages for the site (Docusaurus, Gatsby, React, etc.)

Ticket (if applicable)

https://sumologic.atlassian.net/browse/DOCS-481

@cla-bot cla-bot bot added the cla-signed Contributor approved, listed in .clabot file label Jun 27, 2025
@kimsauce kimsauce self-assigned this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed Contributor approved, listed in .clabot file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant