Skip to content

fix: broken images due to base URL changes#817

Merged
illright merged 4 commits intomasterfrom
fix-broken-images
Apr 28, 2025
Merged

fix: broken images due to base URL changes#817
illright merged 4 commits intomasterfrom
fix-broken-images

Conversation

@illright
Copy link
Copy Markdown
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
Copy Markdown

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

Comment thread i18n/uz/docusaurus-plugin-content-docs/current/branding.md Outdated
@cloudflare-workers-and-pages
Copy link
Copy Markdown

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 and others added 3 commits April 29, 2025 01:17
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…com:feature-sliced/documentation into fix-broken-images
@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

2 participants