An icon is added to the report entry in the navigation. Works only with the xdoc plugin 1.10 and above.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@386906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a634b0e4fd
commit
f2815c9d5a
@ -25,8 +25,13 @@
|
||||
xmlns:plugin="plugin">
|
||||
|
||||
<goal name="maven-pdf-plugin:register" description="Register the pdf generation during site goal." prereqs="pdf:init">
|
||||
<copy todir="${maven.docs.dest}/images/" overwrite="yes" filtering="no">
|
||||
<fileset dir="${plugin.resources}/images/">
|
||||
<include name="**/*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<!-- We register it but we need to specify the extension -->
|
||||
<doc:registerReport name="PDF" pluginName="maven-pdf-plugin" target="_blank" description="Documentation in PDF format." link="${maven.pdf.pdfName.substring(0,maven.pdf.pdfName.length()-4)}" fileSuffix=".pdf"/>
|
||||
<doc:registerReport name="PDF Documentation" pluginName="maven-pdf-plugin" target="_blank" description="Documentation in PDF format." link="${maven.pdf.pdfName.substring(0,maven.pdf.pdfName.length()-4)}" fileSuffix=".pdf" image="/images/pdf.gif"/>
|
||||
</goal>
|
||||
<goal name="maven-pdf-plugin:deregister" description="Deregister the pdf generation.">
|
||||
<doc:deregisterReport name="PDF"/>
|
||||
|
||||
BIN
pdf/src/plugin-resources/images/pdf.gif
Normal file
BIN
pdf/src/plugin-resources/images/pdf.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 950 B |
@ -25,6 +25,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="2.5-SNAPSHOT" date="in SVN">
|
||||
<action dev="aheritier" type="update">An icon is added to the report entry in the navigation. Works only with the xdoc plugin 1.10 and above.</action>
|
||||
<action dev="aheritier" type="fix">The links generated in the reports list are wrong. Works only with the xdoc plugin 1.10 and above.</action>
|
||||
<action dev="ltheussl" type="add" due-to="Greg Ludington">New property <code>maven.pdf.createBookmarks</code> to create PDF bookmarks.</action>
|
||||
<action dev="ltheussl" type="fix" issue="MPPDF-53">Title and dates are incorrect when used with Maven 1.0.2.</action>
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
</breadcrumbs>
|
||||
<links>
|
||||
<item name="FOP" href="http://xmlgraphics.apache.org/fop/"/>
|
||||
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank"/>
|
||||
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank" hideName="true"/>
|
||||
</links>
|
||||
<menu name="Overview">
|
||||
<item name="About" href="/index.html"/>
|
||||
@ -37,6 +37,7 @@
|
||||
<item name="FAQ" href="/faq.html"/>
|
||||
<item name="Downloads" href="/downloads.html"/>
|
||||
<item name="History" href="/changes-report.html"/>
|
||||
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank"/>
|
||||
</menu>
|
||||
</body>
|
||||
</project>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user