chappe
chappe copied to clipboard
"npx chappe build" on Windows gives wrong directory structure
Running npx chappe build
on a Windows environment seems to be generating a weird directory structure: after a certain depth, the pre-rendered HTML files for each guide is stored under a subdirectory called index.md
, as can be seen here:
https://paste.sparked.host/umiboqehec.txt
Running the same command on Linux, against the same repository, yields the correct results as expected: https://paste.sparked.host/zutahoyapo.txt
Hello there!
Unfortunately, Chappe was not built for and tested for Windows. I also don't have any Windows platform to test it on.
I'd accept PRs for a fix. Thank you!
Hm, I wonder how you guys test docs at Crisp...
Anyway, back to the point. It probably has to do with one of the many deprecated dependencies used by Chappe (possibly urix? it's a few levels deep in the dependency tree). Unfortunately, I don't have the time to try to fix this, so I'll see if running this under WSL yields different results.
We all run on macOS, on which everything works just fine, and then we build for production on Linux which also works fine.
Let me know if you find anything.