jaredly / redoc

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

Somehow getting duplicate output #21

Open wires opened 6 years ago

wires commented 6 years ago

Hi there,

I am getting duplicate output, any idea what could be causing this?

screen shot 2018-08-22 at 15 48 32

here with another project:

screen shot 2018-08-22 at 15 46 26

Here is a screenshot of the terminal output to create a basic demonstration of this issue:

screen shot 2018-08-22 at 15 48 09

I've stored a minimal example with output in a repo here: https://github.com/wires/redoc-issue

Maybe it is because certain directories are listed twice (see redoc_debug_output.txt:

  compiledDependencyDirectories:
    /private/tmp/test/lib/bs : /private/tmp/test/lib/js/
    /private/tmp/test/lib/bs : /private/tmp/test/lib/js/
    /private/tmp/test/lib/bs/src : /private/tmp/test/lib/js/src