-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markdown image reference can not find file in docs/assets -> 404 #600
Comments
Hi @alex254. Interesting, I assume you are using the latest version of Docusaurus (1.0.14 - which you can check by doing I just tried this on OS X, and it worked fine. So I am now led to believe that this may be a Windows support problem on our part. What happens if you put the image in
|
Or if you have a way to try your test on a Mac or Linux machine, that could be another way to verify as well. |
Hi JoelMarcey, Thanks for the super fast response :) It works when I put the files in ehm, I get an empty response if I run the version check... I don't have a Mac or running Linux sorry.. |
I have tried:
none of them work, so I am starting to think it genuinely is a bug; also considering it that does work when I put them |
@alex254 It is probably a bug with how we handle paths specifically for Windows, although I thought we fixed a bunch of that. I need to get my hands on a Windows machine to test. But that is my current working theory. |
@JoelMarcey Ok, I'm going to continue with my project; thanks for the help! If you want to get the reproducable demo please use this commit: |
Same issue on our project. @JoelMarcey will you still look at this ? |
@endiliey I can confirm that the issue is fixed when I reproduce your commit in my local environnent 😃 |
Is this a bug report?
yes
Have you read the Contributing Guidelines on issues?
yes
Environment
(OS, Node, npm, yarn)
Windows 10
Node v8.11.1
npm 5.6.0
yarn 1.6.0
Steps to Reproduce
(Write your steps here:)
I ran into the problem a bit further down my own project; but initiated a new docusaurus project from the start to see if the problem still exists. And I get the same error...no changes were made to siteConfig.js

to doc1.mdtried it in Chrome and Brave browser; same result.
Expected Behavior
Expected: image is shown in browser
Actual Behavior
console error: GET http://localhost:3000/docs/assets/dosomething.png 404 (Not Found)
Reproducible Demo
https://github.com/iam-io/documentation/blob/master/docs/DOC_2_shoppable.md
Here you can see that github understand the link and shows the picture...however my npm build doesn't work.
The text was updated successfully, but these errors were encountered: