You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
When using baseUrl in site config, it adds a prefix to all link paths.
But for assets, it doesn't work if you refer to them as `docs/assets/...`, you have to use just `assets/...`. Source: facebook/docusaurus#861
Reviewed By: passy
Differential Revision: D20796933
fbshipit-source-id: 2346e42b8b548f576a1e143f56ee5236eab55073
🐛 Bug Report
Document image links are broken when the site has a baseUrl. Instructions for linking to images within documents are here https://docusaurus.io/docs/en/next/doc-markdown#linking-to-images-and-other-assets. However, this does not work when the site has baseUrl other than "/".
To Reproduce
Expected behavior
Then image should show up.
Actual Behavior
The image does not render.
Reproducible Demo
Here is an example project showing how the image link is broken when a baseUrl is provided in the siteConfig.
https://github.com/cckellogg/tmpscratch
The text was updated successfully, but these errors were encountered: