Skip to content

Fix extension README image roots - #591

Merged
Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
agents/fix-broken-image-links-readme
Aug 21, 2026
Merged

Fix extension README image roots#591
Brandon Waterloo [MSFT] (bwateratmsft) merged 3 commits into
mainfrom
agents/fix-broken-image-links-readme

Conversation

@bwateratmsft

Copy link
Copy Markdown
Collaborator

🤖

Summary

  • configure VSCE to resolve Container Tools README images from the extension's relocated resource directory
  • apply the corresponding image base configuration to the Docker extension package

Validation

  • packaged the Container Tools VSIX and confirmed all 10 README image URLs were rewritten to the extension resource directory
  • confirmed all 10 rewritten URLs return HTTP 200
  • ran git diff --check

Configure VSCE to resolve relative README images from each extension's directory after the monorepo resource relocation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a93f1e75-d2ea-4ead-989d-437c363085b7

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the packaging scripts for the Container Tools and Docker extensions so VSCE can rewrite README image URLs to an absolute base URL after the resource directory relocation, ensuring images render correctly in packaged artifacts/Marketplace.

Changes:

  • Add --baseImagesUrl to the vsce package scripts for both extensions.
  • Point the base image URL at the corresponding extension folder in the microsoft/vscode-containers repository.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
extensions/vscode-containers/package.json Adds a --baseImagesUrl to ensure README images under resources/readme/ can be rewritten to absolute URLs during packaging.
extensions/vscode-docker/package.json Adds a --baseImagesUrl to align packaging behavior across extensions (even though the current README has no images).

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread extensions/vscode-containers/package.json
Comment thread extensions/vscode-docker/package.json
Add trailing slashes to both extension image base URLs so their directory semantics are explicit.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a93f1e75-d2ea-4ead-989d-437c363085b7
VSCE joins base image URLs and relative paths correctly without trailing slashes, as confirmed from the packaged README.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a93f1e75-d2ea-4ead-989d-437c363085b7
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) merged commit 9aac5ff into main Aug 21, 2026
2 checks passed
@bwateratmsft
Brandon Waterloo [MSFT] (bwateratmsft) deleted the agents/fix-broken-image-links-readme branch August 21, 2026 13:47
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.

3 participants