From 0d2338cb06820f4db31c71c8bc19bb20fa046670 Mon Sep 17 00:00:00 2001 From: Hossein Naderi Date: Wed, 15 Nov 2023 21:07:29 +0330 Subject: [PATCH] Fixed sbt build --- project/Yaml4sSitePlugin.scala | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/project/Yaml4sSitePlugin.scala b/project/Yaml4sSitePlugin.scala index 178fe09..53f1e4f 100644 --- a/project/Yaml4sSitePlugin.scala +++ b/project/Yaml4sSitePlugin.scala @@ -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.* @@ -45,7 +41,13 @@ object Yaml4sSitePlugin extends AutoPlugin { ) .site .mainNavigation(appendLinks = - Seq(ThemeNavigationSection("Related projects", relatedProjects)) + Seq( + ThemeNavigationSection( + "Related projects", + relatedProjects.head, + relatedProjects.tail: _* + ) + ) ) }