Skip to content

Commit b24a174

Browse files
authored
Update settings.md
1 parent 1900e6d commit b24a174

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

_overviews/scala3-scaladoc/settings.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ If you want to know what is current state of compatibility with scaladoc old fla
1818
Supply scaladoc settings as command-line arguments, e.g., `scaladoc -d output -project my-project target/scala-3.0.0-RC2/classes`. If called from sbt, update the value of `Compile / doc / scalacOptions` and `Compile / doc / target` respectively, e. g.
1919

2020
```
21-
Compile / doc / target ++= Seq("-d", "output")
22-
Compile / doc / scalacOptions ++= Seq("-project", "my-project")
21+
Compile / doc / target := file("output"),
22+
Compile / doc / scalacOptions ++= Seq("-project", "my-project"),
2323
```
2424

2525
## Overview of all available settings
@@ -149,7 +149,7 @@ Example JSON file:
149149
Snippet compiler arguments provide a way to configure snippet type checking.
150150

151151
This setting accepts a list of arguments in the format:
152-
args := arg{,arg}
152+
args := arg{,args}
153153
arg := [path=]flag
154154
where `path` is a prefix of the path to source files where snippets are located and `flag` is the mode in which snippets will be type checked.
155155

0 commit comments

Comments
 (0)