Skip to content

Commit 8fb2343

Browse files
committed
Fix build. Add section in introduction
1 parent 61fa415 commit 8fb2343

File tree

6 files changed

+8
-19
lines changed

6 files changed

+8
-19
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ asciidoctor {
138138
'artifactId': project.name,
139139
'sourcedir': "${projectDir}/src/main/groovy",
140140
'poiApiUrl': 'https://poi.apache.org/apidocs/',
141+
'apachePoi': 'https://poi.apache.org/',
141142
'projectUrl': project.githubUrl
142143
}
143144

docs/cells.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Support for additional types can be easily added without the need to convert you
1515

1616
=== Underlying API
1717

18-
To get access to the Apache POI API for a given cell, simply store the return value of the `cell` method:
18+
To get access to the {apachePoi}[Apache POI] API for a given cell, simply store the return value of the `cell` method:
1919

2020
[source,groovy]
2121
----
@@ -137,7 +137,7 @@ Excel.registerCellFormat(BigDecimal, "\"$\"#,##0.00_);(\"$\"#,##0.00)")
137137
Excel.registerCellFormat(OffsetDateTime, "m/d/yy h:mm")
138138
----
139139

140-
There are a list of built in formats you can reference by their index. The list is documented in a comment in the Apache POI {poiApiUrl}org/apache/poi/ss/usermodel/BuiltinFormats.html[BuiltinFormats] class.
140+
There are a list of built in formats you can reference by their index. The list is documented in a comment in the {apachePoi}[Apache POI] {poiApiUrl}org/apache/poi/ss/usermodel/BuiltinFormats.html[BuiltinFormats] class.
141141

142142
To register one of the built in formats, simply use the `Integer` representation.
143143

docs/introduction.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[[introduction]]
22
== Introduction
33

4-
This module exposes a Groovy DSL to create real Excel documents using Apache POI under the hood. The goal of this module is to abstract away the most common uses of Apache POI to make creating Excel documents very easy, while providing a hook into the underlying API to allow users to do anything that is not provided automatically.
4+
This module exposes a Groovy DSL to create real Excel documents using {apachePoi}[Apache POI] under the hood. The goal of this module is to abstract away the most common uses of {apachePoi}[Apache POI] to make creating Excel documents very easy, while providing a hook into the underlying API to allow users to do anything that is not provided automatically.
5+
6+
If you encounter any issues or inconsistencies while using this library, or if you have a great idea for improving this library, please https://github.com/jameskleeh/groovy-excel-builder/issues[create an issue]!

docs/rows.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In addition to creating cells, there are also a few other methods available to y
55

66
=== Underlying API
77

8-
To get access to the Apache POI API for a given row, simply receive an argument to the `row` closure:
8+
To get access to the {apachePoi}[Apache POI] API for a given row, simply receive an argument to the `row` closure:
99

1010
[source,groovy]
1111
----

docs/sheets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ With the Groovy Excel Builder, you can create documents with as many sheets as y
55

66
=== Underlying API
77

8-
To get access to the Apache POI API for a given sheet, simply receive an argument to the `sheet` closure:
8+
To get access to the {apachePoi}[Apache POI] API for a given sheet, simply receive an argument to the `sheet` closure:
99

1010
[source,groovy]
1111
----

src/test/groovy/com/jameskleeh/excel/ExcelSpec.groovy

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,4 @@ class ExcelSpec extends Specification {
125125
format == 18
126126
}
127127
128-
void "test temp"() {
129-
130-
ExcelBuilder.output(new FileOutputStream(new File('/Users/jameskleeh/temp.xlsx'))) {
131-
sheet {
132-
row {
133-
cell(0.105F, [format: 10])
134-
}
135-
}
136-
}
137-
138-
expect:
139-
true
140-
141-
}
142128
}

0 commit comments

Comments
 (0)