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.
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.