SBuild Plugin that integrates Asciidoctor into SBuild.
Scala
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
org.sbuild.plugins.asciidoctor
.gitignore
LICENSE.txt
README.adoc

README.adoc

SBuild Asciidoctor Plugin

This SBuild plugin integrates Asciidoctor into SBuild.

Download

SBuild Asciidoctor Plugin can be downloaded from Maven Central.

To include it in you SBuild buildfile use the @classpath annotation:

@classpath("mvn:org.sbuild:org.sbuild.plugins.asciidoctor:0.1.0")

Building from Source

You need a recent version of SBuild.

git clone https://github.com/SBuild-org/asciidoctor.git
cd sbuild-sbuild-plugin/org.sbuild.plugins.asciidoctor
sbuild all

You will find the built jar in the directory org.sbuild.plugins.asciidoctor/target.

Requirements

This plugin requires at least SBuild 0.7.1.

Configuration

All configurable properties are documented via ScalaDoc. See file Asciidoctor.scala.

Examples

Minimal example, which will generate a jbake site from src/asciidoc to target/asciidoc.

import de.tototec.sbuild._

@version("0.7.1")
@classpath("mvn:org.sbuild:org.sbuild.plugins.asciidoctor:0.1.0")
class SBuild(implicit _project: Project) {

  import org.sbuild.plugins.asciidoctor._
  Plugin[Asciidoctor]

}

Changelog

SBuild Asciidoctor Plugin 0.1.0 - 2014-01-30

  • Initial Release