Skip to content

Commit 249e18b

Browse files
authored
Image optimization 2 (#9529)
* feat: optimize images using Next Image * feat: make relative path images work * fix gitignore * a more robust cwd for mdx-bundler * feat: move /docs images next to importing mdx files * feat: move platform-includes images next to importing mdx files * fix: remove orphaned images * fix image references and dedupe some images * dedupe some more images * fix: fix race condition during build time when reading image size 🤞 * remove unreferenced image * move image under ./img * move additional_data.png into a common include * move attachments-access-denied.png into a common include * move attachments-access.png into a common include * move attachments-list-example.png into a common include * move code-mappings-configure-modal.png into a common include * move code-mappings-event-json.png into a common include * move code-mappings-source-file.png into a common include * move code-mappings-stacktrace.png into a common include * move crons-alerts-example.png into a common include * move debug-files-workflow.png into a common include * move distributed-trace-in-sentry.png into a common include * move viewhierarchy-example.png into a common include * move viewhierarchy-list-example.png into a common include * move viewhierarchy-list-example.png into a common include * move tags.png into a common include * move user_feedback_widget.png into a common include * update image contributing docs * fix web-vitals-concepts 404 bug * use local perf-web-vitals.png image
1 parent 78571cb commit 249e18b

File tree

1,205 files changed

+1019
-893
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,205 files changed

+1019
-893
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,5 @@ public/page-data
9393

9494
# tsbuildinfo file generated by CI
9595
tsconfig.tsbuildinfo
96+
97+
public/mdx-images/*

docs/api/guides/create-auth-token.mdx

Lines changed: 2 additions & 2 deletions
File renamed without changes.
File renamed without changes.

public/product/accounts/auth-tokens/user-auth-token-create.png renamed to docs/api/img/user-auth-token-create.png

File renamed without changes.

docs/api/permissions.mdx

Lines changed: 1 addition & 1 deletion

docs/contributing/pages/images.mdx

Lines changed: 25 additions & 10 deletions

docs/platforms/android/configuration/app-not-respond.mdx

Lines changed: 5 additions & 5 deletions

public/platforms/android/configuration/anr-rootcause-deadlock.png renamed to docs/platforms/android/configuration/img/anr-rootcause-deadlock.png

File renamed without changes.

public/platforms/android/configuration/anr-rootcause-fileio.png renamed to docs/platforms/android/configuration/img/anr-rootcause-fileio.png

File renamed without changes.

0 commit comments

Comments
 (0)