Skip to content

Commit

Permalink
Update links to readiness levels (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored Jan 24, 2024
1 parent 5c7cbe1 commit fac4b28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,21 @@ import sbt._

object LightbendParadoxInfoPlugin extends AutoPlugin {
private def glossary(anchor: String, label: String): String =
s"""<a href="https://developer.lightbend.com/docs/introduction/getting-help/support-terminology.html#$anchor" target="_blank" rel="noopener">$label</a>""".stripMargin
s"""<a href="https://doc.akka.io/docs/akka-dependencies/current/support-terminology.html#$anchor" target="_blank" rel="noopener">$label</a>""".stripMargin

case object Supported extends ReadinessLevel {
val name =
s"""${glossary(
"supported",
"Supported"
)}, <a href="https://www.lightbend.com/lightbend-subscription" target="_blank" rel="noopener">Lightbend Subscription</a> provides support"""
)}, support is available from <a href="https://www.lightbend.com/akka" target="_blank" rel="noopener">Lightbend</a>"""
}
case object Certified extends ReadinessLevel {
val name =
s"""${glossary("certified", "Certified")} by <a href="https://www.lightbend.com/" target="_blank">Lightbend</a>"""
s"""${glossary(
"certified",
"Certified"
)} by <a href="https://www.lightbend.com/akka" target="_blank">Lightbend</a>"""
}
case object Incubating extends ReadinessLevel {
val name = glossary("incubating", "Incubating")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<tr><th>JPMS module name</th><td>alpakka.core</td></tr>
<tr><th>License</th><td><div><a href="http://opensource.org/licenses/Apache-2.0" target="_blank" rel="noopener noreferrer">Apache-2.0</a></div>
</td></tr>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://developer.lightbend.com/docs/introduction/getting-help/support-terminology.html#supported" target="_blank" rel="noopener">Supported</a>, <a href="https://www.lightbend.com/lightbend-subscription" target="_blank" rel="noopener">Lightbend Subscription</a> provides support</div>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://doc.akka.io/docs/akka-dependencies/current/support-terminology.html#supported" target="_blank" rel="noopener">Supported</a>, support is available from <a href="https://www.lightbend.com/akka" target="_blank" rel="noopener">Lightbend</a></div>
<div>Since 0.22, 2018-11-22</div>
</td></tr>
<tr><th>Home page</th><td><a href="https://github.com/lightbend/sbt-paradox-project-info">https://github.com/lightbend/sbt-paradox-project-info</a></td></tr>
Expand Down
4 changes: 2 additions & 2 deletions src/sbt-test/project-info/happy-path/expected/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<tr><th>JPMS module name</th><td>alpakka.core</td></tr>
<tr><th>License</th><td><div><a href="http://opensource.org/licenses/Apache-2.0" target="_blank" rel="noopener noreferrer">Apache-2.0</a></div>
</td></tr>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://developer.lightbend.com/docs/introduction/getting-help/support-terminology.html#supported" target="_blank" rel="noopener">Supported</a>, <a href="https://www.lightbend.com/lightbend-subscription" target="_blank" rel="noopener">Lightbend Subscription</a> provides support</div>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://doc.akka.io/docs/akka-dependencies/current/support-terminology.html#supported" target="_blank" rel="noopener">Supported</a>, support is available from <a href="https://www.lightbend.com/akka" target="_blank" rel="noopener">Lightbend</a></div>
<div>Since 0.22, 2018-11-22</div>
</td></tr>
<tr><th>Home page</th><td><a href="https://github.com/lightbend/sbt-paradox-project-info">https://github.com/lightbend/sbt-paradox-project-info</a></td></tr>
Expand All @@ -38,7 +38,7 @@
<tr><th>JPMS module name</th><td>alpakka.core.testkit</td></tr>
<tr><th>License</th><td><div><a href="http://opensource.org/licenses/Apache-2.0" target="_blank" rel="noopener noreferrer">Apache-2.0</a></div>
</td></tr>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://developer.lightbend.com/docs/introduction/getting-help/support-terminology.html#incubating" target="_blank" rel="noopener">Incubating</a></div>
<tr><th>Readiness level</th><td><div class="readiness-level"><a href="https://doc.akka.io/docs/akka-dependencies/current/support-terminology.html#incubating" target="_blank" rel="noopener">Incubating</a></div>
<div>Since 0.16, 2018-11-22</div>
</td></tr>
<tr><th>Home page</th><td><a href="https://github.com/lightbend/sbt-paradox-project-info">https://github.com/lightbend/sbt-paradox-project-info</a></td></tr>
Expand Down

0 comments on commit fac4b28

Please sign in to comment.