diff --git a/README.md b/README.md index 3480a46..c65de6f 100644 --- a/README.md +++ b/README.md @@ -8,5 +8,5 @@ Knobs [![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.getnelson.knobs/core_2.11/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.getnelson.knobs/core_2.11) [![codecov](https://codecov.io/gh/getnelson/knobs/branch/master/graph/badge.svg)](https://codecov.io/gh/getnelson/knobs) -Please [view the documentation](http://oncue.github.io/knobs/) for more information, and go to [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.getnelson.knobs%22) for the latest releases. +Please [view the documentation](http://getnelson.github.io/knobs/) for more information, and go to [Maven Central](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.getnelson.knobs%22) for the latest releases. diff --git a/docs/build.sbt b/docs/build.sbt index ea1612c..dde5244 100644 --- a/docs/build.sbt +++ b/docs/build.sbt @@ -1,23 +1,23 @@ -//: ---------------------------------------------------------------------------- -//: Copyright (C) 2017 Verizon. All Rights Reserved. -//: -//: Licensed under the Apache License, Version 2.0 (the "License"); -//: you may not use this file except in compliance with the License. -//: You may obtain a copy of the License at -//: -//: http://www.apache.org/licenses/LICENSE-2.0 -//: -//: Unless required by applicable law or agreed to in writing, software -//: distributed under the License is distributed on an "AS IS" BASIS, -//: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//: See the License for the specific language governing permissions and -//: limitations under the License. -//: -//: ---------------------------------------------------------------------------- - -// enablePlugins(TutPlugin, DisablePublishingPlugin) -// disablePlugins(BinCompatPlugin) - -// includeFilter in makeSite := "*.yml" | "*.md" | "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" - -// git.remoteRepo := "git@github.com:getnelson/knobs.git" +import com.typesafe.sbt.SbtSite.SiteKeys._ +import com.typesafe.sbt.SbtGhPages.GhPagesKeys._ + +enablePlugins(DisablePublishingPlugin) +disablePlugins(BinCompatPlugin) + +site.settings + +tutSettings + +site.addMappingsToSiteDir(tut, "") + +ghpages.settings + +ghpagesNoJekyll := false + +includeFilter in makeSite := "*.yml" | "*.md" | "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" + +git.remoteRepo := "git@github.com:getnelson/knobs.git" + +scalacOptions ~= { + _.filterNot(Set("-Ywarn-unused:params", "-Ywarn-unused:imports")) +} diff --git a/project/CentralRequirementsPlugin.scala b/project/CentralRequirementsPlugin.scala index cbf3fd0..9b4592c 100644 --- a/project/CentralRequirementsPlugin.scala +++ b/project/CentralRequirementsPlugin.scala @@ -14,8 +14,9 @@ //: limitations under the License. //: //: ---------------------------------------------------------------------------- -package verizon.build +package io.getnelson.knobs.build +import verizon.build.RigPlugin import sbt._, Keys._ import xerial.sbt.Sonatype.autoImport.sonatypeProfileName