Skip to content

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
Copy link
Collaborator

@jpipkin1 jpipkin1 left a comment

Choose a reason for hiding this comment

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

Wow, @kimsauce! This is super fantastic! What a lot of work!

@kimsauce kimsauce added this pull request to the merge queue Jul 3, 2025
Merged via the queue into main with commit 0693458 Jul 3, 2025
7 checks passed
@kimsauce kimsauce deleted the unused-img branch July 3, 2025 06:27
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.

3 participants