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
When the docsUrl setting is configured to put all docs in the root, i.e. docsUrl="", images that are linked to in documents using ![example](assets/example.jpg) are broken. Whereas this works fine when built/published; images are linked to correctly.
PS, thanks for all the hard work! 😄 This is a great tool and we're in the process of moving over all our company docs to Docusaurus. Let me know if I can provide any more info.
🐛 Bug Report
When the
docsUrl
setting is configured to put all docs in the root, i.e.docsUrl=""
, images that are linked to in documents using![example](assets/example.jpg)
are broken. Whereas this works fine when built/published; images are linked to correctly.Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
docs
.headerLinks
inwebsite/siteConfig.js
.docsUrl: ""
setting towebsite/siteConfig.js
.docs/assets
directory and put an example image in there.![example](assets/example.jpg)
.Expected behavior
When running the website locally, the image should be shown.
Actual Behavior
Image link is broken when running website locally (
yarn start
).Reproducible Demo
Repo:
https://github.com/will-stone/docusaurus-image-issue
Site Config:
https://github.com/will-stone/docusaurus-image-issue/blob/master/website/siteConfig.js
The text was updated successfully, but these errors were encountered: