rustdoc
rustdoc copied to clipboard
"Error while processing route: crates JSON.parse: unexpected end of data at line 1 column 1 of the JSON data"
@GuillaumeGomez has problems loading up rustdoc
This means that this line is for some reason not finding data.json
.
I have a hunch it's because this is a relative URL. It works for me locally, and @quietmisdreavus as well. @GuillaumeGomez is on OS X, so I wonder if that's the issue.
If anyone else sees this bug, I'd like to figure out how to solve it.
As a workaround, python -m SimpleHTTPServer
in the example\target\doc
directory seems to make it work.
Works fine for me on OSX. Firefox works without any issues. Chrome complained about CORS but after running chrome with --disable-web-security
(lol) it worked too.
Odd, trying it again today I do seem to get that issue on Firefox.
Going to #/example
gives the same error. Not entirely sure why it's happening today but not when I tried it before, maybe I'm doing something stupid. Chrome still works fine (apart from the CORS thing). Deleting the example/target/doc
directory and running it again didn't do anything either.
I'll try and investigate this further.
I am marking this as "hard" since we don't know what the problem is yet; once we identify it this may change!