Skip to content

fix(docs): move screenshot to public/ so it deploys#83

Merged
mrpollo merged 1 commit intomainfrom
mrpollo/fix-screenshot-path
Apr 21, 2026
Merged

fix(docs): move screenshot to public/ so it deploys#83
mrpollo merged 1 commit intomainfrom
mrpollo/fix-screenshot-path

Conversation

@mrpollo
Copy link
Copy Markdown
Contributor

@mrpollo mrpollo commented Apr 21, 2026

The landing page and README referenced docs/assets/screenshot.png, but VitePress emits its own fingerprinted bundle output into /assets/ at the site root, so a static file under docs/assets/ never gets copied into the dist/ output. That's why https://px4.github.io/Hawkeye/assets/screenshot.png is 404'ing on the live site.

Moves the file to docs/public/screenshot.png (VitePress publishes everything under public/ verbatim), and updates the hero image path in docs/index.md, the sidebar logo in docs/.vitepress/config.ts, and the README reference. The README continues to render the image correctly because GitHub resolves relative paths against the repo.

After merge and the next Pages deploy, the hero image will resolve at https://px4.github.io/Hawkeye/screenshot.png.

VitePress emits fingerprinted bundle output into /assets/ at the site
root, so a static file at docs/assets/screenshot.png never gets copied
to the dist. Move it to docs/public/ which VitePress publishes verbatim,
and update the hero, logo, and README references.
@mrpollo mrpollo merged commit 89d22e7 into main Apr 21, 2026
6 checks passed
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.

1 participant