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-persistence-r2dbc.git


The following commit(s) were added to refs/heads/main by this push:
     new c26e395  chore: add sbt-salad-days to reduce Scaladoc archive size 
(#416)
c26e395 is described below

commit c26e39589149caa4cac8be04cc909b4cf82f343e
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Fri Jun 26 08:11:17 2026 +0800

    chore: add sbt-salad-days to reduce Scaladoc archive size (#416)
    
    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 7d8d152..79ee362 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -25,3 +25,6 @@ addSbtPlugin("org.apache.pekko" % "pekko-sbt-paradox" % 
"1.0.1")
 addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.7.0")
 addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-theme" % "0.10.7")
 addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.10.7")
+
+// 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]

Reply via email to