Polish "Add Spring-specific styling to Gradle Plugin's documentation"

Closes gh-16327
This commit is contained in:
Stephane Nicoll 2019-04-02 16:22:13 +02:00
parent 466b57cd44
commit c4b1a22e89
2 changed files with 13 additions and 1 deletions

View File

@ -274,7 +274,17 @@
<target>
<zip
destfile="${project.build.directory}/${project.artifactId}-${project.version}-docs.zip">
<fileset dir="${project.build.directory}/generated-docs" />
<zipfileset
src="build/libs/${project.artifactId}-${project.version}-javadoc.jar"
prefix="api" />
<zipfileset dir="${project.build.directory}/generated-docs/reference/html"
prefix="reference/html" />
<mappedresources>
<fileset dir="${project.build.directory}/generated-docs/reference/pdf"
includes="index.pdf" />
<globmapper from="index.pdf"
to="reference/pdf/spring-boot-gradle-plugin-reference.pdf" />
</mappedresources>
</zip>
</target>
</configuration>
@ -321,6 +331,7 @@
</executions>
<configuration>
<sourceDirectory>${refdocs.build.directory}</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<attributes>
<github-tag>${github-tag}</github-tag>
<version-type>${version-type}</version-type>

View File

@ -32,6 +32,7 @@ Andy Wilkinson
:github-code: https://github.com/spring-projects/spring-boot/tree/{github-tag}
[[introduction]]
== Introduction