purescript-docs-search icon indicating copy to clipboard operation
purescript-docs-search copied to clipboard

Running `spago test` breaks `spago docs`

Open JamieBallingall opened this issue 1 year ago • 2 comments

Steps to replicate:

spago build
spago docs
spago test

So far everything works as expected. But now run

spago docs

again. It does create most of the documentation but fails to create an index and reports an error message that includes "TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension " and warns that it "Failed while trying to make the documentation searchable: 1"

JamieBallingall avatar Sep 27 '22 22:09 JamieBallingall

This is less of an issue with spago and more of an issue with one of its dependencies: https://github.com/purescript/purescript-docs-search

JordanMartinez avatar Sep 28 '22 00:09 JordanMartinez

Indeed, I'll move this issue there

f-f avatar Sep 29 '22 23:09 f-f