Skip to content

Commit 58680d6

Browse files
committed
Refactor: Add documentation for the Scastie configuration
1 parent 86fe255 commit 58680d6

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ GEM
219219
jekyll-feed (~> 0.9)
220220
jekyll-seo-tag (~> 2.1)
221221
minitest (5.18.0)
222+
nokogiri (1.14.3-x86_64-darwin)
223+
racc (~> 1.4)
222224
nokogiri (1.14.3-x86_64-linux)
223225
racc (~> 1.4)
224226
octokit (4.25.1)
@@ -263,6 +265,7 @@ GEM
263265
zeitwerk (2.6.7)
264266

265267
PLATFORMS
268+
x86_64-darwin-22
266269
x86_64-linux
267270

268271
DEPENDENCIES

_overviews/scala3-scaladoc/settings.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ Which means:
172172
- all snippets in files under directory `my/path/f` should fail during compilation
173173
- all other snippets should compile successfully
174174

175+
#### -scastie-configuration
176+
177+
Define the additional sbt configuration for your Scastie snippets. For example, when you import external libraries into your snippets, you need to add the related dependencies.
178+
179+
```
180+
"-scastie-configuration", """libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.12.0""""
181+
```
182+
175183
##### -Ysnippet-compiler-debug
176184

177185
Setting this option makes snippet compiler print the snippet as it is compiled (after wrapping).

0 commit comments

Comments
 (0)