Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kelnos/tut-maven-plugin

Maven plugin for Tut (https://tpolecat.github.io/tut/)
https://github.com/kelnos/tut-maven-plugin

documentation maven plugin scala tut

Last synced: about 1 month ago
JSON representation

Maven plugin for Tut (https://tpolecat.github.io/tut/)

Awesome Lists containing this project

README

        

# tut-maven-plugin

This is a Maven plugin that allows you to generate Scala documentation
snippets that contain code that is compiled to ensure the code is valid.
This is just a Maven plugin shell; the original project that does the
heavy lifting can be found [here](http://tpolecat.github.io/tut/).

Releases here will match the version of the corresponding Tut release.
If extra releases of this plugin are required for a given Tut version, a fourth version
component will be added to the plugin's version number.

## Usage

```xml



org.spurint.maven.plugins
tut-maven-plugin
${tut-maven-plugin.version}


generate-documentation

generate-documentation


${project.basedir}/docs-src
${project.basedir}/docs
.*\\.(md|markdown|txt|htm|html)$




```

## Configuration

| Name | Default | Description |
|:-----|:--------|:------------|
| `sourceDirectory` | `${project.basedir}/docs-src` | The source root containing files to parse |
| `targetDirectory` | `${project.basedir}/docs` | The location to place generated documenation |
| `nameFiter` | `.*\\.(md\|markdown\|txt\|htm\|html)$` | A regular expression describing file names to be processed |
| `scalacOptions` | (taken from project) | A list of `` to pass to the Scala compiler |
| `pluginJars` | (taken from project) | A list of ``, paths to JAR files of compiler plugins |