Sync docs from master to gh-pages
This commit is contained in:
@@ -505,13 +505,17 @@ approach of generating documentation just add these plugins to your <code>docs</
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId> <i class="conum" data-value="3"></i><b>(3)</b>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>exec-maven-plugin</artifactId> <i class="conum" data-value="4"></i><b>(4)</b>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.asciidoctor</groupId>
|
||||
<artifactId>asciidoctor-maven-plugin</artifactId> <i class="conum" data-value="4"></i><b>(4)</b>
|
||||
<artifactId>asciidoctor-maven-plugin</artifactId> <i class="conum" data-value="5"></i><b>(5)</b>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId> <i class="conum" data-value="5"></i><b>(5)</b>
|
||||
<artifactId>maven-antrun-plugin</artifactId> <i class="conum" data-value="6"></i><b>(6)</b>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
@@ -535,10 +539,14 @@ approach of generating documentation just add these plugins to your <code>docs</
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="conum" data-value="4"></i><b>4</b></td>
|
||||
<td>This plugin is required to parse the Asciidoctor documentation</td>
|
||||
<td>This plugin generates an <code>adoc</code> file with all the configuration properties from the classpath</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="conum" data-value="5"></i><b>5</b></td>
|
||||
<td>This plugin is required to parse the Asciidoctor documentation</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="conum" data-value="6"></i><b>6</b></td>
|
||||
<td>This plugin is required to copy resources into proper final destinations and to generate main README.adoc and to assert that no files use unresolved links</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -556,6 +564,9 @@ The order of plugin declaration is important!
|
||||
</table>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>In order for the build to generate the <code>adoc</code> file with all your configuration properties, your <code>docs</code> module should contain all the dependencies on the classpath, that you would want to scan for configuration properties. The file will be output to <code>${docsModule}/src/main/asciidoc/configprops.adoc</code> file.</p>
|
||||
</div>
|
||||
<div class="paragraph">
|
||||
<p>Spring Cloud Build Docs comes with a set of attributes for asciidoctor that you can reuse.</p>
|
||||
</div>
|
||||
<div class="listingblock">
|
||||
@@ -575,11 +586,15 @@ The order of plugin declaration is important!
|
||||
<project-root>${maven.multiModuleProjectDirectory}</project-root>
|
||||
<!-- It's mandatory for you to pass the docs.main property -->
|
||||
<github-repo>${docs.main}</github-repo>
|
||||
<github-raw>https://raw.githubusercontent.com/spring-cloud/${docs.main}/${github-tag}</github-raw>
|
||||
<github-code>https://github.com/spring-cloud/${docs.main}/tree/${github-tag}</github-code>
|
||||
<github-raw>
|
||||
https://raw.githubusercontent.com/spring-cloud/${docs.main}/${github-tag}
|
||||
</github-raw>
|
||||
<github-code>https://github.com/spring-cloud/${docs.main}/tree/${github-tag}
|
||||
</github-code>
|
||||
<github-issues>https://github.com/spring-cloud/${docs.main}/issues/</github-issues>
|
||||
<github-wiki>https://github.com/spring-cloud/${docs.main}/wiki</github-wiki>
|
||||
<github-master-code>https://github.com/spring-cloud/${docs.main}/tree/master</github-master-code>
|
||||
<github-master-code>https://github.com/spring-cloud/${docs.main}/tree/master
|
||||
</github-master-code>
|
||||
<index-link>${index-link}</index-link>
|
||||
|
||||
<!-- Spring Cloud specific -->
|
||||
|
||||
Reference in New Issue
Block a user