@@ -129,20 +129,28 @@ lazy val experimental = project
129129
130130lazy val docs = project
131131 .dependsOn(core, datasource, pyrasterframes)
132- .enablePlugins(SiteScaladocPlugin , ParadoxPlugin , GhpagesPlugin , ScalaUnidocPlugin )
132+ .enablePlugins(SiteScaladocPlugin , ParadoxPlugin , ParadoxMaterialThemePlugin , GhpagesPlugin , ScalaUnidocPlugin )
133133 .settings(
134134 apiURL := Some (url(" http://rasterframes.io/latest/api" )),
135135 autoAPIMappings := true ,
136136 ghpagesNoJekyll := true ,
137137 ScalaUnidoc / siteSubdirName := " latest/api" ,
138138 paradox / siteSubdirName := " ." ,
139139 paradoxProperties ++= Map (
140- " github.base_url" -> " https://github.com/locationtech/rasterframes" ,
141140 " version" -> version.value,
142- " scaladoc.org.apache.spark.sql.rf" -> " http://rasterframes.io/latest"
141+ " scaladoc.org.apache.spark.sql.rf" -> " http://rasterframes.io/latest" ,
142+ " github.base_url" -> " "
143143 ),
144144 paradoxNavigationExpandDepth := Some (3 ),
145- paradoxTheme := Some (builtinParadoxTheme(" generic" )),
145+ Compile / paradoxMaterialTheme ~= { _
146+ .withRepository(uri(" https://github.com/locationtech/rasterframes" ))
147+ .withCustomStylesheet(" assets/custom.css" )
148+ .withCopyright(""" © 2017-2019 <a href="https://astraea.earth">Astraea</a>, Inc. All rights reserved.""" )
149+ .withLogo(" assets/images/RF-R.svg" )
150+ .withFavicon(" assets/images/RasterFrames_32x32.ico" )
151+ .withColor(" blue-grey" , " light-blue" )
152+ .withGoogleAnalytics(" UA-106630615-1" )
153+ },
146154 makeSite := makeSite
147155 .dependsOn(Compile / unidoc)
148156 .dependsOn((Compile / paradox)
@@ -157,6 +165,8 @@ lazy val docs = project
157165 addMappingsToSiteDir(Compile / paradox / mappings, paradox / siteSubdirName)
158166 )
159167
168+ // ParadoxMaterialThemePlugin.paradoxMaterialThemeSettings(Paradox)
169+
160170lazy val bench = project
161171 .dependsOn(core % " compile->test" )
162172 .settings(publish / skip := true )
0 commit comments