typelevel / Laika

Site and E-book Generator and Customizable Text Markup Transformer for sbt, Scala and Scala.js
https://typelevel.org/Laika/
Apache License 2.0
410 stars 44 forks source link

merge features from 0.19.4 for 1.x - minus all deprecations #522

Closed jenshalm closed 1 year ago

jenshalm commented 1 year ago

Merges all new features introduced in 0.19.4, including mermaid support and AST rendering in the preview server.

Breaking Changes

The old default of using a global search path for automatically linking all CSS and JS files from the input sources is no longer active. Users need to explicitly configure at least one search path (via .site.internalCSS or .site.internalJS) for a resource scan to happen.

The old behaviour was often unexpected (and users had to search for ways to disable it) and also came with the risk of overlapping search paths where a theme or extension adds their own resources. The new API allows more control in general (e.g. setting a condition per document for whether resources are linked or not).

More details in #511.

This PR prepares the 1.0.0-M4 release which will be the final milestone roughly in sync with the 0.19 code base.