Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 8fab6e0

Browse files
committed
Fix docs compilation
1 parent 043a1c5 commit 8fab6e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ lazy val commonSettings: Seq[Def.Setting[_]] = commonSmlBuildSettings ++ ossPubl
2727

2828
val compileDocs: TaskKey[Unit] = taskKey[Unit]("Compiles docs module throwing away its output")
2929
compileDocs := {
30-
(docs.jvm(scala213) / mdoc).toTask(" --out target/sttp-docs").value
30+
(docs.jvm(scala213) / mdoc).toTask(" --out target/diffx-docs").value
3131
}
3232

3333
val versionSpecificScalaSources = {

docs-sources/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ instance of the `Diff` typeclass into the implicit scope. The whole process look
171171

172172
```scala mdoc:compile-only
173173
case class Person(name:String, age:Int)
174-
implicit val modifiedDiff: Diff[Person] = Derived[Diff[Person]].ignore[Person,String](_.name)
174+
implicit val modifiedDiff: Diff[Person] = Derived[Diff[Person]].ignore(_.name)
175175
```
176176

177177
## Customization
@@ -200,7 +200,7 @@ sealed trait ABParent
200200
case class A(id: String, name: String) extends ABParent
201201
case class B(id: String, name: String) extends ABParent
202202

203-
implicit val diffA: Diff[A] = Derived[Diff[A]].ignore[A, String](_.id)
203+
implicit val diffA: Diff[A] = Derived[Diff[A]].ignore(_.id)
204204
```
205205
```scala mdoc
206206
val a1: ABParent = A("1", "X")

0 commit comments

Comments
 (0)