Skip to content

Conversation

@joepio
Copy link
Contributor

@joepio joepio commented Aug 23, 2022

I made the mistake of using root relative links: /assets/some-file.jpg instead of using document relative links: assets/some-file.jpg. This works fine when using mdbook serve, but after deploying my pages, the images broke down. A warning notice in the docs might prevent others from making the same mistake.

Make sure people use the right kind of asset-urls. This issue only shows up when deploying, not using `mdbook serve`.
@Dylan-DPC Dylan-DPC merged commit 13f53eb into rust-lang:master Aug 23, 2022
@joepio joepio deleted the patch-1 branch August 23, 2022 09:06
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.

2 participants