@@ -56,22 +56,32 @@ lazy val example = project
5656 .dependsOn(lucene)
5757
5858import laika .ast .Path .Root
59- import laika .helium .config .{IconLink , HeliumIcon }
59+ import laika .helium .config .{IconLink , HeliumIcon , TextLink , ThemeNavigationSection }
60+ import cats .data .NonEmptyList
6061lazy val docs = project
6162 .in(file(" site" ))
6263 .enablePlugins(TypelevelSitePlugin )
6364 .dependsOn(lucene)
6465 .settings(
6566 tlSiteApiPackage := Some (" textmogrify" ),
66- tlSiteRelatedProjects := Seq (
67- " lucene" -> url(" https://lucene.apache.org/" ),
68- TypelevelProject .CatsEffect ,
69- TypelevelProject .Fs2 ,
70- ),
7167 tlSiteHelium := {
72- tlSiteHelium.value.site.darkMode.disabled.site.topNavigationBar(
73- homeLink = IconLink .external(" https://github.com/valencik/textmogrify" , HeliumIcon .home)
74- )
68+ tlSiteHelium.value.site.darkMode.disabled.site
69+ .topNavigationBar(
70+ homeLink = IconLink .external(" https://github.com/valencik/textmogrify" , HeliumIcon .home)
71+ )
72+ .site
73+ .mainNavigation(
74+ appendLinks = Seq (
75+ ThemeNavigationSection (
76+ " Related Projects" ,
77+ NonEmptyList .of(
78+ TextLink .external(" https://lucene.apache.org/" , " lucene" ),
79+ TextLink .external(" https://typelevel.org/cats-effect/" , " cats-effect" ),
80+ TextLink .external(" https://fs2.io/" , " fs2" ),
81+ ),
82+ )
83+ )
84+ )
7585 },
7686 )
7787
0 commit comments