-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebsite.sbt
More file actions
42 lines (39 loc) · 1.17 KB
/
website.sbt
File metadata and controls
42 lines (39 loc) · 1.17 KB
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
40
41
42
//addCommandAlias("website", "docs/mdoc; makeSite")
addCommandAlias("website", "makeSite")
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/ThreeScalaJS.git"
ghpagesNoJekyll := true
Compile / doc / scalacOptions ++= Seq(
"-siteroot",
"docs",
"-project",
"ThreeScalaJS",
"-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/ThreeScalaJS,twitter::https://twitter.com/oNouguier",
"-Ygenerate-inkuire",
"-skip-by-regex:facades\\..*",
"-skip-by-regex:samples\\..*",
"-skip-by-regex:html\\..*",
"-snippet-compiler:compile"
)