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

Helium landing page - avoid hard-coding of panel title #620

Closed jenshalm closed 2 weeks ago

jenshalm commented 3 weeks ago

The panel title had previously been hard-coded to "Documentation" which was accidental and the only place in the Helium UI with hard-coded text. In fact, the library should not even assume English as the language of the site.

For binary compatibility the old parameter (documentationLinks: Seq[TextLink]) of the landingPage config method had to be kept and the a parameter which allows to customize the title has been added instead (linkPanel: Option[LinkPanel]).