File tree Expand file tree Collapse file tree 3 files changed +18
-9
lines changed
docs/src/paradox/limitations Expand file tree Collapse file tree 3 files changed +18
-9
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,11 @@ inThisBuild(
1313 " -feature" ,
1414 " -encoding" ,
1515 " utf8"
16- )
16+ ),
17+ scmInfo := Some (
18+ ScmInfo (url(" https://github.com/kornilova-l/scala-native-bindgen" ),
19+ " scm:git:[email protected] :kornilova-l/scala-native-bindgen.git" )),
20+ git.remoteRepo := scmInfo.value.get.connection.replace(" scm:git:" , " " )
1721 ))
1822
1923val tests = project
@@ -91,11 +95,15 @@ lazy val tools = project in file("tools")
9195
9296lazy val docs = project
9397 .in(file(" docs" ))
94- .enablePlugins(GhpagesPlugin , ParadoxSitePlugin )
98+ .enablePlugins(GhpagesPlugin , ParadoxSitePlugin , ParadoxMaterialThemePlugin )
9599 .settings(
96- paradoxTheme := Some (builtinParadoxTheme(" generic" )),
97100 paradoxProperties in Paradox ++= Map (
98- " github.base_url" -> " https://github.com/kornilova-l/scala-native-bindgen/tree/master/ "
101+ " github.base_url" -> scmInfo.value.get.browseUrl.toString
99102 ),
100- git.remoteRepo
:= " [email protected] :kornilova-l/scala-native-bindgen.git" 103+ ParadoxMaterialThemePlugin .paradoxMaterialThemeSettings(Paradox ),
104+ paradoxMaterialTheme in Paradox := {
105+ (paradoxMaterialTheme in Paradox ).value
106+ .withRepository(scmInfo.value.get.browseUrl.toURI)
107+ .withColor(" indigo" , " indigo" )
108+ }
101109 )
Original file line number Diff line number Diff line change 1- ## Limitations
1+ # Limitations
22
33There are multiple unsupported cases that should be considered when generating bindings:
44
Original file line number Diff line number Diff line change 1- addSbtPlugin(" org.scala-native" % " sbt-scala-native" % " 0.3.7" )
2- addSbtPlugin(" com.typesafe.sbt" % " sbt-site" % " 1.3.2" )
3- addSbtPlugin(" com.typesafe.sbt" % " sbt-ghpages" % " 0.6.2" )
1+ addSbtPlugin(" org.scala-native" % " sbt-scala-native" % " 0.3.7" )
2+ addSbtPlugin(" com.typesafe.sbt" % " sbt-site" % " 1.3.2" )
3+ addSbtPlugin(" io.github.jonas" % " sbt-paradox-material-theme" % " 0.4.0" )
4+ addSbtPlugin(" com.typesafe.sbt" % " sbt-ghpages" % " 0.6.2" )
You can’t perform that action at this time.
0 commit comments