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:
aheritier 2006-03-19 00:20:26 +00:00
parent a634b0e4fd
commit f2815c9d5a
4 changed files with 9 additions and 2 deletions

View File

@ -25,8 +25,13 @@
xmlns:plugin="plugin"> xmlns:plugin="plugin">
<goal name="maven-pdf-plugin:register" description="Register the pdf generation during site goal." prereqs="pdf:init"> <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 --> <!-- 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>
<goal name="maven-pdf-plugin:deregister" description="Deregister the pdf generation."> <goal name="maven-pdf-plugin:deregister" description="Deregister the pdf generation.">
<doc:deregisterReport name="PDF"/> <doc:deregisterReport name="PDF"/>

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

View File

@ -25,6 +25,7 @@
</properties> </properties>
<body> <body>
<release version="2.5-SNAPSHOT" date="in SVN"> <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="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="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> <action dev="ltheussl" type="fix" issue="MPPDF-53">Title and dates are incorrect when used with Maven 1.0.2.</action>

View File

@ -28,7 +28,7 @@
</breadcrumbs> </breadcrumbs>
<links> <links>
<item name="FOP" href="http://xmlgraphics.apache.org/fop/"/> <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> </links>
<menu name="Overview"> <menu name="Overview">
<item name="About" href="/index.html"/> <item name="About" href="/index.html"/>
@ -37,6 +37,7 @@
<item name="FAQ" href="/faq.html"/> <item name="FAQ" href="/faq.html"/>
<item name="Downloads" href="/downloads.html"/> <item name="Downloads" href="/downloads.html"/>
<item name="History" href="/changes-report.html"/> <item name="History" href="/changes-report.html"/>
<item name="PDF Documentation" href="/maven-pdf-plugin.pdf" img="/images/pdf.gif" target="_blank"/>
</menu> </menu>
</body> </body>
</project> </project>