scalawithcats / scala-with-cats

Source code for Scala with Cats
http://underscore.io/books/scala-with-cats
396 stars 133 forks source link

Update Scala with Cats to Cats 2, mdoc, and Scala 2.13 #173

Closed noelwelsh closed 4 years ago

noelwelsh commented 4 years ago

Update Scala with Cats so it builds without error on Cats 2 with mdoc and Scala 2.13

davegurnell commented 4 years ago

Thanks for working on this -- really excited to get building on mdoc!

It builds for me with a bunch of warnings about missing hyperlinks. The mdoc documentation suggests we can diable link checking with an incantation like this:

mdocExtraArguments += "--no-link-hygiene"

This doesn't seem to work for me but it's not a blocker.

I'm getting a bunch of errors from Grunt so I'll tinker around and see if I can assemble the Pandoc command line in SBT instead of Node. This may temporarily lose some of our styling for the HTML version but I think it's a worthwhile direction to go in. There are other tools to sort the HTML version anyway.