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-grpc.git
The following commit(s) were added to refs/heads/main by this push:
new 8b69462b build: fix sbt lint warning by excluding previewPath key
(#729)
8b69462b is described below
commit 8b69462b3debdc042358bbbc45578c5b0429f7c9
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Tue Jun 16 18:23:38 2026 +0800
build: fix sbt lint warning by excluding previewPath key (#729)
Motivation:
sbt lint reported unused docs/previewSite/previewPath key.
Modification:
Add Global / excludeLintKeys += previewPath in build.sbt docs project.
Result:
sbt lint warning resolved.
Tests:
- sbt "clean; compile" - zero sbt lint warnings
References:
None - build configuration cleanup
---
build.sbt | 1 +
1 file changed, 1 insertion(+)
diff --git a/build.sbt b/build.sbt
index 517c29dc..91cb58e9 100644
--- a/build.sbt
+++ b/build.sbt
@@ -272,6 +272,7 @@ lazy val docs = Project(id = "docs", base = file("docs"))
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
pekkoParadoxGithub := Some("https://github.com/apache/pekko-grpc"),
previewPath := (Paradox / siteSubdirName).value,
+ Global / excludeLintKeys += previewPath,
Preprocess / siteSubdirName :=
s"api/pekko-grpc/${projectInfoVersion.value}",
Preprocess / sourceDirectory := (LocalRootProject / ScalaUnidoc / unidoc /
target).value,
Paradox / siteSubdirName := s"docs/pekko-grpc/${projectInfoVersion.value}",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]