Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: broken images due to base URL changes #817

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

Merged
merged 4 commits into from
Apr 28, 2025
Merged

Conversation

illright
Copy link
Member

Background

Closes #816

Changelog

  1. Use useBaseUrl in HTML-style images and links because Docusaurus: https://docusaurus.io/docs/static-assets#in-markdown

@illright illright requested a review from Copilot April 28, 2025 23:13
Copy link

@Copilot Copilot AI left a comment

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 fixes broken images by updating markdown files to use the Docusaurus useBaseUrl helper for asset paths.

  • Replaces hardcoded image paths with useBaseUrl in branding, public API documentation, and blog posts.
  • Ensures that image links in various language versions correctly resolve via base URL adjustments.

Reviewed Changes

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

Show a summary per file
File Description
i18n/uz/docusaurus-plugin-content-docs/current/branding.md Updated image URL paths using useBaseUrl
i18n/ru/docusaurus-plugin-content-docs/current/public-api.md Updated image URL paths using useBaseUrl
i18n/ru/docusaurus-plugin-content-docs/current/branding.md Updated image URL paths using useBaseUrl
i18n/kr/docusaurus-plugin-content-docs/current/public-api.md Updated image URL paths using useBaseUrl
i18n/ja/docusaurus-plugin-content-docs/current/public-api.md Updated image URL paths using useBaseUrl
i18n/ja/docusaurus-plugin-content-docs/current/branding.md Updated image URL paths using useBaseUrl
i18n/en/docusaurus-plugin-content-docs/current/public-api.md Updated image URL paths using useBaseUrl
i18n/en/docusaurus-plugin-content-docs/current/branding.md Updated image URL paths using useBaseUrl
blog/2022-07-25-international-community.md Updated image URL via useBaseUrl for correct linking
blog/2022-06-04-rebranding.md Updated image URL via useBaseUrl for correct linking
Files not reviewed (8)
  • i18n/en/docusaurus-plugin-content-docs/current/reference/layers.mdx: Language not supported
  • i18n/en/docusaurus-plugin-content-docs/current/reference/slices-segments.mdx: Language not supported
  • i18n/ja/docusaurus-plugin-content-docs/current/reference/layers.mdx: Language not supported
  • i18n/ja/docusaurus-plugin-content-docs/current/reference/slices-segments.mdx: Language not supported
  • i18n/kr/docusaurus-plugin-content-docs/current/reference/slices-segments.mdx: Language not supported
  • i18n/ru/docusaurus-plugin-content-docs/current/reference/layers.mdx: Language not supported
  • i18n/ru/docusaurus-plugin-content-docs/current/reference/slices-segments.mdx: Language not supported
  • i18n/uz/docusaurus-plugin-content-docs/current/reference/layers.mdx: Language not supported

Copy link

cloudflare-workers-and-pages bot commented Apr 28, 2025

Deploying pr-fsd with  Cloudflare Pages  Cloudflare Pages

Latest commit: d15c523
Status: ✅  Deploy successful!
Preview URL: https://0af3d1b7.pr-fsd.pages.dev
Branch Preview URL: https://fix-broken-images.pr-fsd.pages.dev

View logs

@illright illright enabled auto-merge (squash) April 28, 2025 23:20
@illright illright disabled auto-merge April 28, 2025 23:22
@illright illright merged commit e753c06 into master Apr 28, 2025
3 checks passed
@illright illright deleted the fix-broken-images branch April 28, 2025 23:22
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.

some svgs return 404 error
1 participant