Skip to content

Commit

Permalink
Fixed sbt build
Browse files Browse the repository at this point in the history
  • Loading branch information
hnaderi committed Nov 15, 2023
1 parent 3922371 commit 0d2338c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions project/Yaml4sSitePlugin.scala
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import laika.ast.Path.Root
import laika.ast._
import laika.config.ConfigBuilder
import laika.config.LaikaKeys
import laika.helium.Helium
import laika.helium.config._
import laika.rewrite.link.ApiLinks
import laika.rewrite.link.SourceLinks
import laika.rewrite.link.LinkConfig
import laika.theme._
import org.typelevel.sbt.TypelevelSitePlugin
import org.typelevel.sbt.TypelevelSitePlugin.autoImport.*
Expand Down Expand Up @@ -45,7 +41,13 @@ object Yaml4sSitePlugin extends AutoPlugin {
)
.site
.mainNavigation(appendLinks =
Seq(ThemeNavigationSection("Related projects", relatedProjects))
Seq(
ThemeNavigationSection(
"Related projects",
relatedProjects.head,
relatedProjects.tail: _*
)
)
)

}
Expand Down

0 comments on commit 0d2338c

Please sign in to comment.