typelevel / grackle

Grackle: Functional GraphQL for the Typelevel stack
http://typelevel.org/grackle/
Apache License 2.0
173 stars 25 forks source link

"sbt docs/previewSite" fails with missing directory #151

Closed NigeWarren closed 3 years ago

NigeWarren commented 3 years ago

On cloning and following the readme - "sbt docs/previewSite" fails with

[error] java.lang.RuntimeException: Error writing content for page tutorial/in-memory-model.html: Unknown snippet [/Users/Nige/GeminiWorkspace/gsp-graphql/demo/src/main/scala-2/starwars/StarWarsData.scala (No such file or directory)] referenced from [tutorial/in-memory-model.html]

Suspect that "-2" is being added to the "scala" directory ("scala-2" not being a directory) as a part of support for Scala 3 in sbt - possibly ?

I would attempt a fix but I don't want to bump into the "sbt furniture" resulting in further broken assumptions later.

Nige

milessabin commented 3 years ago

Thanks for the report!

tpolecat commented 3 years ago

(I just fixed this.)