Skip to content

Commit c4b1a22

Browse files
committed
Polish "Add Spring-specific styling to Gradle Plugin's documentation"
Closes gh-16327
1 parent 466b57c commit c4b1a22

File tree

2 files changed

+13
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin

2 files changed

+13
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/pom.xml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,17 @@
274274
<target>
275275
<zip
276276
destfile="${project.build.directory}/${project.artifactId}-${project.version}-docs.zip">
277-
<fileset dir="${project.build.directory}/generated-docs" />
277+
<zipfileset
278+
src="build/libs/${project.artifactId}-${project.version}-javadoc.jar"
279+
prefix="api" />
280+
<zipfileset dir="${project.build.directory}/generated-docs/reference/html"
281+
prefix="reference/html" />
282+
<mappedresources>
283+
<fileset dir="${project.build.directory}/generated-docs/reference/pdf"
284+
includes="index.pdf" />
285+
<globmapper from="index.pdf"
286+
to="reference/pdf/spring-boot-gradle-plugin-reference.pdf" />
287+
</mappedresources>
278288
</zip>
279289
</target>
280290
</configuration>
@@ -321,6 +331,7 @@
321331
</executions>
322332
<configuration>
323333
<sourceDirectory>${refdocs.build.directory}</sourceDirectory>
334+
<sourceDocumentName>index.adoc</sourceDocumentName>
324335
<attributes>
325336
<github-tag>${github-tag}</github-tag>
326337
<version-type>${version-type}</version-type>

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/main/asciidoc/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Andy Wilkinson
3232
:github-code: https://github.com/spring-projects/spring-boot/tree/{github-tag}
3333

3434

35+
3536
[[introduction]]
3637
== Introduction
3738

0 commit comments

Comments
 (0)