-
Notifications
You must be signed in to change notification settings - Fork 8
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
Migrate documentation to Laika (sbt-typelevel-site) #17
Conversation
- sbt-scalafix - sbt-scalajs - sbt-mdoc
going to re open this and be more careful with my force push in the future. |
} | ||
</style> | ||
<body> | ||
```scala mdoc:passthrough |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it this is where you've struggled ? Is Laika somehow able to run this snippet via a call to mdoc ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this passthrough is in a markdown document, Laika hangs. Mdoc doesn't have an issue. By moving it to an html document laika ignores the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mmm that's not ideal :/ , the point of this mdoc invocation is to exemplify the output of the framework. Not that it's critical to the docs but it's kinda nice to have.
Probs worth pinging some of the laïka maintainers for advice ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a problem with the ansi to html transformation making invalid html, fixed by making the html output just dealing with color, instead of trying to get the order of transitions correct in all cases.
see 8b1bca7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CJSmith-0141, would you mind just uploading a screenshot of the microsite on the PR description ?
addresses #14
edit: Adding some screenshots
Landing page
Sample report
Another sample report
Expectations page