-
Notifications
You must be signed in to change notification settings - Fork 3
/
website.sbt
39 lines (37 loc) · 1.09 KB
/
website.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
lazy val currentYear: String =
java.util.Calendar.getInstance().get(java.util.Calendar.YEAR).toString
enablePlugins(
SiteScaladocPlugin,
SitePreviewPlugin,
ScalaUnidocPlugin,
GhpagesPlugin
)
ScalaUnidoc / siteSubdirName := ""
addMappingsToSiteDir(
ScalaUnidoc / packageDoc / mappings,
ScalaUnidoc / siteSubdirName
)
git.remoteRepo := "git@github.com:cheleb/laminar-form-derivation.git"
ghpagesNoJekyll := true
Compile / doc / scalacOptions ++= Seq(
"-siteroot",
"docs",
"-project",
"Laminar Form Derivation",
"-groups",
"-project-version",
sys.env.getOrElse("VERSION", version.value),
"-revision",
version.value,
// "-default-templates",
// "static-site-main",
"-project-footer",
s"Copyright (c) 2022-$currentYear, Olivier NOUGUIER",
// custom::https://www.linkedin.com/in/olivier-nouguier::linkedinday.png::linkedinnight.png
"-social-links:github::https://github.com/cheleb,twitter::https://twitter.com/oNouguier",
"-Ygenerate-inkuire",
"-skip-by-regex:facades\\..*",
"-skip-by-regex:samples\\..*",
"-skip-by-regex:html\\..*",
"-snippet-compiler:compile"
)