Skip to content

Commit

Permalink
Add link to homepage in main navigation bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
zainab-ali committed Aug 30, 2024
1 parent 29bfa56 commit bf20634
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,23 @@ lazy val examples = project

import laika.format._
import laika.ast.Path.Root
import laika.helium.config.{ThemeNavigationSection, TextLink}

lazy val docs = project
.in(file("site"))
.dependsOn(core.jvm)
.settings(
tlSiteKeepFiles := false,
tlSiteHelium := tlSiteHelium.value.site
.mainNavigation(
prependLinks = Seq(
ThemeNavigationSection(
"About",
TextLink.internal(Root / "README.md", "About aquascape")
)
)
)
.site
.internalCSS(Root / "main.css")
.site
.internalJS(Root / "main.js")
Expand Down
1 change: 1 addition & 0 deletions docs/reference/merge.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{%
pageid = DocsReferenceMerge
helium.site.pageNavigation.keepOnSmallScreens = true
%}

# merge
Expand Down

0 comments on commit bf20634

Please sign in to comment.