diff --git a/README.md b/README.md index a91dcef7e..4d3f9e943 100644 --- a/README.md +++ b/README.md @@ -4,38 +4,19 @@ Site and E-book Generator and Customizable Text Markup Transformer for sbt, Scala and Scala.js ![Build Status](https://github.com/typelevel/Laika/workflows/CI/badge.svg) -![Maven Central Release](https://img.shields.io/maven-central/v/org.planet42/laika-core_2.12.svg) +![Maven Central Release](https://img.shields.io/maven-central/v/org.typelevel/laika-core_2.12.svg) -Latest Release --------------- - -* The latest pre-release is version **1.0.0-M5**. -* The latest stable release is version **0.19.5**. - -If you are starting a new project with Laika, it is recommended to use the latest 1.0 milestone. -It is the final milestone and already very close to the first release candidate -and will prevent the need for a future migration. -0.19 won't receive any further patches unless a severe issue surfaces. - The library is published to Maven Central for Scala 3, 2.13, 2.12 and supports cats-effect 3.x and Scala.js 1.13+. The sbt plugin is published for sbt 1.x. Open Source under the Apache 2.0 License. -Adding Laika to your Build --------------------------- - -The 1.0 milestones are published under `org.typelevel` organization, while the older 0.x releases were published under the `org.planet42` organization: - -```scala -// for version 1.x: -addSbtPlugin("org.typelevel" % "laika-sbt" % "1.0.0-M5") +Version 1.0 +----------- -// for version 0.19: -addSbtPlugin("org.planet42" % "laika-sbt" % "0.19.5") -``` +1.x artefacts are now published under the `org.typelevel` organization as opposed to 0.x releases which were published under `org.planet42`. Features diff --git a/project/ManualSettings.scala b/project/ManualSettings.scala index f4d3f9699..4f4230a17 100644 --- a/project/ManualSettings.scala +++ b/project/ManualSettings.scala @@ -24,13 +24,16 @@ object ManualSettings { case "1.x" => ("latest", true) case _ => (version, false) } - val v = - Version(version, pathSegment).withFallbackLink("/table-of-content.html").withLabel(label) + + val v = + Version(version, pathSegment) + .withFallbackLink("/table-of-content.html") + .withLabel(label) if (canonical) v.setCanonical else v } - val v1 = version("1.x", "Dev") - val v019 = version("0.19", "Stable") + val v1 = version("1.x", "Stable") + val v019 = version("0.19") val v018 = version("0.18") val v017 = version("0.17") val current = v1