This is an automated email from the ASF dual-hosted git repository.
He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new b59e443fca Separate build-tool and language selectors in documentation
#3663 (#3663)
b59e443fca is described below
commit b59e443fca46d68f08926dfdf4ba1d049d48c7e7
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Fri Oct 23 23:16:31 2026 +0800
Separate build-tool and language selectors in documentation #3663 (#3663)
Motivation:
Build-tool snippets need their own selector so sbt, Maven, and Gradle can
be selected independently of Scala and Java.
Modification:
Configure a BuildTool group alongside the existing Language group, using
the existing Paradox build validation.
Result:
Readers can choose language and build tool independently.
Tests:
Validation used a local integration checkout with current main and the
other pending PRs.
- `docs/paradox`: passed; inspected generated pages for independent
Scala/Java and sbt/Maven/Gradle selectors.
- `headerCreateAll`, `+headerCheckAll`, native scalafmt, and `git diff
--check`: passed.
- Full validation is delegated to remote CI.
References:
- Refs [akka/akka-core#32121](https://github.com/akka/akka-core/pull/32121).
---
project/Paradox.scala | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/project/Paradox.scala b/project/Paradox.scala
index a89571b2ab..6743e237eb 100644
--- a/project/Paradox.scala
+++ b/project/Paradox.scala
@@ -8,7 +8,7 @@
*/
/*
- * Copyright (C) 2019-2022 Lightbend Inc. <https://www.lightbend.com>
+ * Copyright (C) 2019-2023 Lightbend Inc. <https://www.lightbend.com>
*/
import com.lightbend.paradox.sbt.ParadoxPlugin
@@ -95,7 +95,9 @@ object Paradox {
(Compile / paradoxMarkdownToHtml / excludeFilter) := (Compile /
paradoxMarkdownToHtml / excludeFilter).value ||
ParadoxPlugin.InDirectoryFilter((Compile / paradox /
sourceDirectory).value / "includes.html"))
- lazy val groupsSettings = Seq(Compile / paradoxGroups := Map("Language" ->
Seq("Scala", "Java")))
+ lazy val groupsSettings = Seq(Compile / paradoxGroups := Map(
+ "Language" -> Seq("Scala", "Java"),
+ "BuildTool" -> Seq("sbt", "Maven", "Gradle")))
lazy val parsingSettings = Seq(Compile / paradoxParsingTimeout := 5.seconds)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]