Skip to content

Commit

Permalink
README for master site is now always pushed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Feb 2, 2012
1 parent 2bc13ed commit 48d35a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sbt
Expand Up @@ -14,6 +14,10 @@ seq(com.jsuereth.sbtsite.SitePlugin.site.settings:_*)

(com.jsuereth.sbtsite.SiteKeys.siteSourceDirectory) <<= baseDirectory(_ / "static")

com.jsuereth.sbtsite.SiteKeys.siteMappings <+= (baseDirectory, streams) map { (dir, s) =>
(dir / "src" / "site" / "README.md") -> "README.md"
}

com.jsuereth.sbtsite.SiteKeys.siteMappings <<= (com.jsuereth.sbtsite.SiteKeys.siteMappings, baseDirectory, target, streams) map { (mappings, dir, out, s) =>
val jekyllSrc = dir / "src" / "jekyll"
val jekyllOutput = out / "jekyll"
Expand Down
6 changes: 6 additions & 0 deletions src/site/README.md
@@ -0,0 +1,6 @@
# scala-sbt.org

---

**NB** This page has been generated by `jekyll` using the SBT ghpages plugin.
If you want to contribute to this webpage then switch to the [gen-master](https://github.com/sbt/sbt.github.com/tree/gen-master) branch and read the README there.

0 comments on commit 48d35a1

Please sign in to comment.