File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 8080 <artifactId >asciidoctorj-pdf</artifactId >
8181 <version >${asciidoctorj.pdf.version} </version >
8282 </dependency >
83+ <dependency >
84+ <groupId >org.asciidoctor</groupId >
85+ <artifactId >asciidoctorj-epub3</artifactId >
86+ <version >${asciidoctorj.pdf.version} </version >
87+ </dependency >
8388 </dependencies >
8489 <configuration >
8590 <sourceDirectory >${project.build.directory} /refdocs/</sourceDirectory >
127132 </attributes >
128133 </configuration >
129134 </execution >
135+ <execution >
136+ <id >generate-epub</id >
137+ <phase >generate-resources</phase >
138+ <goals >
139+ <goal >process-asciidoc</goal >
140+ </goals >
141+ <configuration >
142+ <backend >epub3</backend >
143+ <sourceHighlighter >coderay</sourceHighlighter >
144+ <attributes >
145+ <icons >font</icons >
146+ <pagenums />
147+ <sectnums />
148+ <toc />
149+ </attributes >
150+ </configuration >
151+ </execution >
130152 </executions >
131153 </plugin >
132154 <plugin >
169191 <exclude name =" index.pdf" />
170192 </zipfileset >
171193 <zipfileset dir =" ${project.build.directory}/generated-docs/" includes =" index.pdf" prefix =" reference/pdf" />
194+ <zipfileset dir =" ${project.build.directory}/generated-docs/" includes =" index.epub" prefix =" reference/epub" />
172195 <zipfileset dir =" ../target/site/apidocs" prefix =" apidocs" />
173196 </zip >
174197 </target >
You can’t perform that action at this time.
0 commit comments