typelevel / fs2

Compositional, streaming I/O library for Scala
https://fs2.io
Other
2.34k stars 595 forks source link

`microsite / tlSitePreview` does not show the static website correctly #3433

Open Hombre-x opened 1 month ago

Hombre-x commented 1 month ago

When running the SBT command microsite / tlSitePreview on the root project folder, the generated site does not show the contents properly, although microsite / tlSite works as usual.

A screenshot of the site after running the command: Screenshot 2024-05-14 110701

As @TonioGela pointed out, looks like it is not placing the correct files in the intended folder.

armanbilge commented 1 month ago

Note that FS2 doesn't actually use Laika. But I wanted to use the existing sbt-typelevel-site plugin for publishing / CI infrastructure so I just kind of hacked it. https://github.com/typelevel/fs2/blob/9b1b27cf7a8d7027df852d890555b341da70ef9e/build.sbt#L489-L492

That's why tlSitePreview is broken.

TonioGela commented 4 weeks ago

Asking since I'mcurious: are we considering using laika for the fs2 doc site too?