jaredly / redoc

A clean & easy documentation generator for reason/bucklescript/ocaml
https://jaredforsyth.com/redoc/index.html
116 stars 11 forks source link

The binary distribution has hardcoded paths #17

Open wokalski opened 6 years ago

wokalski commented 6 years ago

The binary distribution has hardcoded paths at some point (I didn't investigate). It results in errors like:

Fatal error: exception Failure("Unable to copy ./../../../static/block-script.js to /Users/wczekalski/Documents/Work/Projects/bs-react-native/docs/block-script.js")
Raised at file "pervasives.ml", line 30, characters 22-33
Called from file "/Users/jared/clone/tools/docre/src/ModelToOutput.re", line 242, characters 4-92
Called from file "/Users/jared/clone/tools/docre/src/utils/Infix.re", line 10, characters 68-73
Called from file "/Users/jared/clone/tools/docre/src/ModelToOutput.re", line 241, characters 40-670
Called from file "/Users/jared/clone/tools/docre/src/Main.re", line 112, characters 9-15
af commented 6 years ago

Just ran into the same issue with the downloaded binary. Was able to build redoc myself without any issue though.

kevinsimper commented 5 years ago

Getting the same error, do you know how to solve this? @jaredly 😄