@@ -41,6 +41,8 @@ ThisBuild / scmInfo := Some(
41
41
42
42
ThisBuild / crossScalaVersions := Seq (" 2.12.15" , " 3.1.0" , " 2.13.7" )
43
43
44
+ ThisBuild / githubWorkflowJavaVersions := Seq (JavaSpec .temurin(" 8" ))
45
+
44
46
replaceCommandAlias(" ci" , CI .AllCIs .map(_.toString).mkString)
45
47
addCommandAlias(" ciFirefox" , CI .Firefox .toString)
46
48
addCommandAlias(" ciChrome" , CI .Chrome .toString)
@@ -105,12 +107,13 @@ ThisBuild / Test / jsEnv := {
105
107
}
106
108
}
107
109
108
- val catsEffectVersion = " 3.2.9 "
109
- val fs2Version = " 3.2.2 "
110
+ val catsEffectVersion = " 3.3.0 "
111
+ val fs2Version = " 3.2.3 "
110
112
val http4sVersion = " 1.0.0-M29"
111
113
val scalaJSDomVersion = " 2.0.0"
114
+ val circeVersion = " 0.15.0-M1"
112
115
val munitVersion = " 0.7.29"
113
- val munitCEVersion = " 1.0.6 "
116
+ val munitCEVersion = " 1.0.7 "
114
117
115
118
lazy val root =
116
119
project.in(file(" ." )).aggregate(dom, tests).enablePlugins(NoPublishPlugin )
@@ -162,7 +165,15 @@ import laika.ast.Path.Root
162
165
import laika .ast ._
163
166
import laika .ast .LengthUnit ._
164
167
import laika .helium .Helium
165
- import laika .helium .config .{HeliumIcon , IconLink , ImageLink , ReleaseInfo , Teaser , TextLink }
168
+ import laika .helium .config .{
169
+ Favicon ,
170
+ HeliumIcon ,
171
+ IconLink ,
172
+ ImageLink ,
173
+ ReleaseInfo ,
174
+ Teaser ,
175
+ TextLink
176
+ }
166
177
import laika .theme .config .Color
167
178
168
179
Global / excludeLintKeys += laikaDescribe
@@ -171,8 +182,13 @@ lazy val docs =
171
182
project
172
183
.in(file(" mdocs" ))
173
184
.settings(
174
- fatalWarningsInCI := false , // Remove once mdocjs bumps to sjs-dom v2
185
+ fatalWarningsInCI := false ,
175
186
mdocJS := Some (jsdocs),
187
+ mdocVariables ++= Map (
188
+ " js-opt" -> " fast" ,
189
+ " HTTP4S_VERSION" -> http4sVersion,
190
+ " CIRCE_VERSION" -> circeVersion
191
+ ),
176
192
Laika / sourceDirectories := Seq (mdocOut.value),
177
193
laikaDescribe := " <disabled>" ,
178
194
laikaConfig ~= { _.withRawContent },
@@ -210,6 +226,13 @@ lazy val docs =
210
226
(Color .hex(" 334044" ), Color .hex(" 5B7980" )) // only used for landing page background
211
227
)
212
228
.site
229
+ .favIcons(
230
+ Favicon
231
+ .external(" https://http4s.org/images/http4s-favicon.svg" , " 32x32" , " image/svg+xml" )
232
+ .copy(sizes = None ),
233
+ Favicon .external(" https://http4s.org/images/http4s-favicon.png" , " 32x32" , " image/png" )
234
+ )
235
+ .site
213
236
.darkMode
214
237
.disabled
215
238
.site
0 commit comments