Skip to content

Add sbt-salad-days to reduce Scaladoc archive size#1079

Open
He-Pin wants to merge 1 commit into
apache:mainfrom
He-Pin:add-sbt-salad-days
Open

Add sbt-salad-days to reduce Scaladoc archive size#1079
He-Pin wants to merge 1 commit into
apache:mainfrom
He-Pin:add-sbt-salad-days

Conversation

@He-Pin

@He-Pin He-Pin commented Jun 20, 2026

Copy link
Copy Markdown
Member

Motivation

Scala 3 Scaladoc archives bundle large font files and inkuire.js search engine, bloating release artifacts and wasting CI storage and upload time.

Modification

Add sbt-salad-days plugin (0.1.0) to project/plugins.sbt. The plugin operates automatically during Scaladoc packaging — strips fonts and scripts from the generated archives without requiring any additional configuration.

Result

Significantly smaller Scaladoc archives (e.g. ~420KB for minimal docs), reducing storage consumption in CI/release pipelines.

References

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant