Improve publishing of Admin Guide Cloud
Before this change, we have been publishing the whole of webhelp to the website which is: du -hs target/docbkx/webhelp/* 11M target/docbkx/webhelp/admin-guide-cloud 2.3M target/docbkx/webhelp/autopdf 836K target/docbkx/webhelp/bk-admin-guide-cloud.xml 6.8M target/docbkx/webhelp/cloud 22M target/docbkx/webhelp/fonts 1.9M target/docbkx/webhelp/images This patch now cleanes up the publishing so that webhelp only contains the admin-guide-cloud directory as it should. The patch also does some minor cleanup of the pom file and removes an unneeded generate-pdf execution. Note: If this patch gets accepted, I will look at the other pom files as well. Change-Id: Iafcb227d9a65776f0beb9750463f7b54e9f05269
This commit is contained in:
parent
855182d691
commit
876bcdcf11
@ -27,21 +27,7 @@
|
||||
<!-- version set in ../pom.xml -->
|
||||
<executions>
|
||||
<execution>
|
||||
<id>goal1</id>
|
||||
<goals>
|
||||
<goal>generate-pdf</goal>
|
||||
</goals>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<highlightSource>false</highlightSource>
|
||||
<!-- The following elements sets the autonumbering of sections in output for chapter numbers but no numbered sections-->
|
||||
<sectionAutolabel>0</sectionAutolabel>
|
||||
<tocSectionDepth>1</tocSectionDepth>
|
||||
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>goal2</id>
|
||||
<id>generate-webhelp</id>
|
||||
<goals>
|
||||
<goal>generate-webhelp</goal>
|
||||
</goals>
|
||||
@ -69,9 +55,8 @@
|
||||
<sectionAutolabel>0</sectionAutolabel>
|
||||
<tocSectionDepth>1</tocSectionDepth>
|
||||
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
|
||||
<targetDirectory>${basedir}/target/docbkx/webhelp/admin-guide-cloud</targetDirectory>
|
||||
<webhelpDirname>/</webhelpDirname>
|
||||
<pdfFilenameBase>bk-admin-guide-cloud-latest</pdfFilenameBase>
|
||||
<webhelpDirname>admin-guide-cloud</webhelpDirname>
|
||||
<pdfFilenameBase>admin-guide-cloud</pdfFilenameBase>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
Loading…
Reference in New Issue
Block a user