This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new a18f57e4c chore: add sbt-salad-days to reduce Scaladoc archive size
(#1699)
a18f57e4c is described below
commit a18f57e4c4daaae549dd03534b7e113457fbb06d
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Thu Jun 25 01:44:25 2026 +0800
chore: add sbt-salad-days to reduce Scaladoc archive size (#1699)
Motivation:
Scala 3 Scaladoc archives bundle large font files and inkuire.js
search engine, bloating release artifacts and wasting CI storage.
Modification:
Add sbt-salad-days plugin (0.1.0) which automatically strips
fonts and scripts from Scaladoc output during packaging.
Result:
Significantly smaller Scaladoc archives (e.g. ~420KB for minimal
docs), reducing upload time and storage consumption.
---
project/plugins.sbt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 49bcf2131..63bbab822 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -34,3 +34,6 @@ addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" %
"2.0.0-M2")
addSbtPlugin("com.github.sbt" % "sbt-boilerplate" % "0.8.0")
// Run JUnit 5 tests with sbt
addSbtPlugin("com.github.sbt.junit" % "sbt-jupiter-interface" % "0.19.0")
+
+// https://eed3si9n.com/reducing-scaladoc-file-size-with-sbt-salad-days/
+addSbtPlugin("com.eed3si9n" % "sbt-salad-days" % "0.1.0")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]