This is a bit of a grab bag of small changes to prepare for the final repackaging step.
It moves ADT members to the companion for improved scaladoc navigation for the following types:
laika.config.ConfigValue
laika.config.ConfigError
laika.rewrite.link.TargetValidation
It moves error types for laika-core from the DocumentParser companion to a new package laika.api.errors so that the DocumentParser can be removed from the public API.
It removes the TreeOutput model from public APIs in favor of adding a .toMemory method to all transformer builders which removes the need for having the ADT in public.
Makes error types in laika-io private. It's unclear whether there is demand for having access to them. In case there is, it's better to re-introduce them in a 1.x minor as they are in need of some additional polishing.
Exposes NoOpPathTranslator in PathTranslator.noOp instead.
This is the last PR before a major repackaging PR that addresses the issue of having multiple semi-populated skeleton packages after all the removals from public API in M2.
This is a bit of a grab bag of small changes to prepare for the final repackaging step.
It moves ADT members to the companion for improved scaladoc navigation for the following types:
laika.config.ConfigValue
laika.config.ConfigError
laika.rewrite.link.TargetValidation
It moves error types for
laika-core
from theDocumentParser
companion to a new packagelaika.api.errors
so that theDocumentParser
can be removed from the public API.It removes the
TreeOutput
model from public APIs in favor of adding a.toMemory
method to all transformer builders which removes the need for having the ADT in public.Makes error types in
laika-io
private. It's unclear whether there is demand for having access to them. In case there is, it's better to re-introduce them in a 1.x minor as they are in need of some additional polishing.Exposes
NoOpPathTranslator
inPathTranslator.noOp
instead.This is the last PR before a major repackaging PR that addresses the issue of having multiple semi-populated skeleton packages after all the removals from public API in M2.