Website redesign

This commit is contained in:
eikek
2022-01-27 20:23:15 +01:00
parent 3fc7f54f1a
commit 261d2af9bb
248 changed files with 3519 additions and 1484 deletions

View File

@ -840,19 +840,17 @@ val website = project
}.taskValue,
Compile / resourceGenerators += Def.task {
val changelog = (LocalRootProject / baseDirectory).value / "Changelog.md"
val targetDir = baseDirectory.value / "site" / "content" / "docs" / "changelog"
val targetDir = baseDirectory.value / "site" / "content" / "docs" / "install"
IO.createDirectory(targetDir)
val target = targetDir / "_index.md"
val target = targetDir / "changelog.md"
IO.write(
target,
"""|+++
|title = "Changelog"
|description = "See what changed between releases."
|weight = 10
|weight = 10000
|insert_anchor_links = "right"
|[extra]
|maketoc = false
|+++
|""".stripMargin
)