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
408 stars 44 forks source link

API cleanup - move some more ADT types into their companion #539

Closed jenshalm closed 11 months ago

jenshalm commented 11 months ago

While browsing API docs I spotted a few more ADT member types which should move into their companion for better documentation structure. They are all in the laika.ast package:

It also revamps the ancient design for ast.Options, removing the SomeOpt and NoOpt subtypes for a simpler implementation in the shape of other modified former case classes. The Options.empty value replaces the former NoOpt object.