Commit 862dc240 authored by Matija Obreza's avatar Matija Obreza
Browse files

Documentation

parent 9bea00af
......@@ -9,6 +9,11 @@ the same Excel file as template, but filling each one with data from a
list of JSON objects. This would be similar to the Merge function in
Word, but the template is an Excel spreadsheet.
## Concepts ##
Check out the [Concepts](src/master/docs/Concepts.html) in the
[Documentation folder](src/master/docs/)
## Using the library ##
Add to your `pom.xml`
......
This diff is collapsed.
......@@ -7,7 +7,8 @@
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
the specific language governing permissions and limitations under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.croptrust</groupId>
<artifactId>excel-json</artifactId>
......@@ -237,6 +238,50 @@
<pushChanges>false</pushChanges>
</configuration>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>1.5.3</version>
<executions>
<execution>
<id>output-html</id>
<phase>generate-resources</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
<configuration>
<backend>html5</backend>
<doctype>book</doctype>
<sourceHighlighter>coderay</sourceHighlighter>
<attributes>
<!-- <stylesheet>${basedir}/src/main/webapp/html/1/styles/ascii-doc.css</stylesheet> -->
<copycss>true</copycss>
<!-- <linkcss /> -->
<!-- <toc>left</toc> -->
<icons>font</icons>
<sectanchors>true</sectanchors>
<idprefix />
<idseparator>-</idseparator>
<docinfo1>true</docinfo1>
</attributes>
</configuration>
</execution>
</executions>
<configuration>
<sourceDirectory>src/main/asciidoc</sourceDirectory>
<outputDirectory>docs</outputDirectory>
<preserveDirectories>true</preserveDirectories>
<headerFooter>true</headerFooter>
<numbered>true</numbered>
<!-- <imagesDir>images</imagesDir> -->
<attributes>
<buildNumber>${buildNumber}</buildNumber>
<projectArtifact>${project.artifactId}</projectArtifact>
<projectVersion>${project.version}</projectVersion>
<snippets>${snippetsDirectory}</snippets>
</attributes>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
......
Excel Template Merge with JSON
==============================
December 2015: Documentation commit {buildNumber}
Matija Obreza <matija.obreza@croptrust.org>
:revnumber: {projectVersion}
:doctype: book
:toc: left
:last-update-label!:
:toclevels: 5
:icons: font
:numbered:
......
......@@ -25,5 +25,5 @@ log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %t %5p %c{1}:%L - %m
### set log levels - for more verbose logging change 'info' to 'debug' ###
log4j.rootLogger=warn, stdout
log4j.category.org.croptrust=info
#log4j.category.org.croptrust=info
#log4j.category.com.jayway=trace
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment