Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hombre-x opened this issue May 14, 2024 · 2 comments
Open

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

Hombre-x opened this issue May 14, 2024 · 2 comments
Labels

Comments

@Hombre-x
Copy link
Contributor

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.

@Hombre-x Hombre-x added the bug label May 14, 2024
@armanbilge
Copy link
Member

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.

fs2/build.sbt

Lines 489 to 492 in 9b1b27c

laikaSite := {
sbt.IO.copyDirectory(mdocOut.value, (laikaSite / target).value)
Set.empty
},

That's why tlSitePreview is broken.

@TonioGela
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants