Skip to content

Commit

Permalink
Initial pass at microsite
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowers committed Oct 14, 2020
1 parent 1596612 commit fc0512c
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
12 changes: 12 additions & 0 deletions build.sbt
@@ -1,5 +1,10 @@
organization := "com.github.mrpowers"

// required settings for sbt-microsites
name := "spark-stringmetric"
description := "Popular phonetic and string matching algorithms implemented in Spark"
organizationName := "MrPowers"
organizationHomepage := Some(url("https://github.com/MrPowers"))

version := "0.3.0"
crossScalaVersions := Seq("2.11.12", "2.12.10")
Expand Down Expand Up @@ -42,3 +47,10 @@ Global/useGpgPinentry := true
enablePlugins(SiteScaladocPlugin)
enablePlugins(GhpagesPlugin)
git.remoteRepo := "git@github.com:MrPowers/spark-stringmetric.git"

// sbt-microsites plugin:
enablePlugins(MicrositesPlugin)
micrositeDescription := "String algorithms in Spark"
micrositeUrl := "https://mrpowers.github.io"
micrositeBaseUrl := "/spark-stringmetric"
micrositeDocumentationUrl := "docs"
9 changes: 9 additions & 0 deletions docs/index.md
@@ -0,0 +1,9 @@
---
layout: home
title: "Home"
section: "Home"
---

## spark-stringmetric

spark-stringmetric is a collection of phoenetic and similarity functions that are not built into the Spark API.
7 changes: 7 additions & 0 deletions docs/phoenetic.md
@@ -0,0 +1,7 @@
---
layout: page
title: "Phoenetic Algorithms"
section: "phoenetic"
position: 30
---
# Phoenetic Algorithms
7 changes: 7 additions & 0 deletions docs/similarity.md
@@ -0,0 +1,7 @@
---
layout: page
title: "Similarity Algorithms"
section: "similarity"
position: 30
---
# Similarity Algorithms
7 changes: 0 additions & 7 deletions docs/src/main/mdoc/index.md

This file was deleted.

Empty file.
1 change: 1 addition & 0 deletions project/plugins.sbt
Expand Up @@ -8,3 +8,4 @@ resolvers += Resolver.bintrayIvyRepo(
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
addSbtPlugin("com.47deg" % "sbt-microsites" % "1.2.1")

0 comments on commit fc0512c

Please sign in to comment.