Documentations update

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114612 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
evenisse 2004-01-26 08:29:02 +00:00
parent c6b9764fad
commit b05adefb08
4 changed files with 162 additions and 96 deletions

View File

@ -1,36 +1,23 @@
<?xml version="1.0"?>
<document>
<properties>
<title>Changes</title>
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<release version="2.0" date="In CVS">
<action dev="evenisse" type="update">
MAVEN-MPPDF-1. Completely re-writte of the PDF plug-in. It solves most of the thorniest
issues, such as table formatting, more levels in the table of contents,
and image sizing. The graphic design is also dramatically improved.
</action>
</release>
<release version="1.2" date="2003-09-29">
<action dev="dion" type="update">update to use maven.docs.*/maven.gen.docs</action>
</release>
<release version="1.1" date="Unknown">
<action dev="dion" type="add">
Upgraded to xerces 2.3.0, xalan 2.4.1 and fop 0.20.5rc2
</action>
<action dev="dion" type="add">
Added more documentation
</action>
<action dev="dion" type="add">
Fix plugin and fo stylesheet to get plugin working again
</action>
<action dev="evenisse" type="add" due-to="Kai Runte">
Added table support.
</action>
</release>
</body>
<properties>
<title>Changes</title>
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<release version="2.0" date="In CVS" description="Beta Release.">
<action dev="evenisse" type="fix" issue="MPPDF-3">A new plugin property (maven.pdf.navigationFile) is added to allow the users to have a different navigation file for the site and for the pdf doc.</action>
<action dev="evenisse" type="fix" issue="MPPDF-2">The use of links inside xdocs don't lead to crash the PDF generation.</action>
<action dev="evenisse" type="update" issue="MPPDF-1">MAVEN-MPPDF-1. Completely re-writte of the PDF plug-in. It solves most of the thorniest issues, such as table formatting, more levels in the table of contents, and image sizing. The graphic design is also dramatically improved.</action>
</release>
<release version="1.2" date="2003-09-29">
<action dev="dion" type="update">update to use maven.docs.*/maven.gen.docs</action>
</release>
<release version="1.1" date="Unknown">
<action dev="dion" type="add">Upgraded to xerces 2.3.0, xalan 2.4.1 and fop 0.20.5rc2</action>
<action dev="dion" type="add">Added more documentation</action>
<action dev="dion" type="add">Fix plugin and fo stylesheet to get plugin working again</action>
<action dev="evenisse" type="add" due-to="Kai Runte">Added table support.</action>
</release>
</body>
</document>

15
pdf/xdocs/faq.fml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<faqs title="Frequently Asked Questions">
<part id="usage">
<title>Plugin Usage</title>
<faq id="how-use">
<question>How do I use the PDF Plugin ?</question>
<answer>
<ul>
<li>Firstly you must call the maven target <code>site</code> to generate all the xdocs files and the image ressources.</li>
<li>Then you can call the <code>pdf</code> target to generate the pdf documentation for your project.</li>
</ul>
</answer>
</faq>
</part>
</faqs>

View File

@ -1,17 +1,18 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven PDF Plugin">
<title>Maven PDF Plugin</title>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/"/>
<item name="FOP" href="http://xml.apache.org/fop/"/>
</links>
<menu name="Overview">
<item name="Goals" href="/goals.html" />
<item name="Properties" href="/properties.html" />
<item name="Changes" href="/changes.html" />
</menu>
</body>
<title>Maven PDF Plugin</title>
<body>
<links>
<item name="Maven" href="http://maven.apache.org/"/>
<item name="FOP" href="http://xml.apache.org/fop/"/>
<item name="PDF Documentation" href="/project.pdf"/>
</links>
<menu name="Overview">
<item name="Goals" href="/goals.html"/>
<item name="Properties" href="/properties.html"/>
<item name="Changes" href="/changes-report.html"/>
<item name="FAQ" href="/faq.html"/>
<item name="Dependencies" href="/dependencies.html"/>
</menu>
</body>
</project>

View File

@ -1,52 +1,115 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<properties>
<title>Maven PDF Plugin Properties</title>
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<section name="Maven PDF Plugin Settings">
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td>maven.docs.src</td>
<td>Yes</td>
<td>
The source directory for your <code>navigation.xml</code>.
Defaults to <code>${basedir}/xdocs</code>.
</td>
</tr>
<tr>
<td>maven.docs.dest</td>
<td>Yes</td>
<td>
The destination directory for documentation. Defaults to
<code>${maven.build.dir}/docs/</code>
</td>
</tr>
<tr>
<td>maven.docs.outputencoding</td>
<td>Yes</td>
<td>
The output encoding of the generated documentation
Defaults to <code>ISO-8859-1</code>.
</td>
</tr>
<tr>
<td>maven.gen.docs</td>
<td>Yes</td>
<td>
The directory for generated xdocs. Defaults to
<code>${maven.build.dir}/generated-xdocs/</code>
</td>
</tr>
</table>
</section>
</body>
<properties>
<title>Maven PDF Plugin Properties</title>
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<section name="Maven PDF Plugin Settings">
<p>This properties are used by the plugin and can be redifned by the user.</p>
<table>
<tr>
<th>Property name</th>
<th>Optional?</th>
<th>Description</th>
</tr>
<tr>
<td>maven.docs.src</td>
<td>Yes</td>
<td>The source directory for the <code>${maven.pdf.navigationFile}</code> file and the user xml documentations files. Defaults to <code>${basedir}/xdocs</code>.</td>
</tr>
<tr>
<td>maven.docs.dest</td>
<td>Yes</td>
<td>The destination directory for PDF documentation. Images are copied fom this directory. Defaults to <code>${maven.build.dir}/docs/</code>.</td>
</tr>
<tr>
<td>maven.docs.outputencoding</td>
<td>Yes</td>
<td>The output encoding of the generated documentation. Defaults to <code>ISO-8859-1</code>.</td>
</tr>
<tr>
<td>maven.gen.docs</td>
<td>Yes</td>
<td>The directory for generated xdocs. Defaults to <code>${maven.build.dir}/generated-xdocs/</code>.</td>
</tr>
<tr>
<td>maven.pdf.confidential</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b> Defaults to <code>false</code>.</td>
</tr>
<tr>
<td>maven.pdf.paperType</td>
<td>Yes</td>
<td>Paper type for the generated PDF file. Defaults to <code>A4</code>.</td>
</tr>
<tr>
<td>maven.pdf.companyName</td>
<td>Yes</td>
<td>Defaults to <code>${pom.organization.name}</code>.</td>
</tr>
<tr>
<td>maven.pdf.companyIncName</td>
<td>Yes</td>
<td>Defaults to <code>${pom.organization.name}</code>.</td>
</tr>
<tr>
<td>maven.pdf.copyrightYear</td>
<td>Yes</td>
<td>Defaults to <code>${pom.inceptionYear}</code>.</td>
</tr>
<tr>
<td>maven.pdf.imageDpi</td>
<td>Yes</td>
<td>Defaults to <code>150</code>.</td>
</tr>
<tr>
<td>maven.pdf.debug</td>
<td>Yes</td>
<td>Debug pdf generation process. Defaults to <code>false</code>.</td>
</tr>
<tr>
<td>maven.pdf.navigationFile</td>
<td>Yes</td>
<td>Filename for the navigation file used to generate the PDF. Defaults to <code>navigation.xml</code>.</td>
</tr>
<tr>
<td>maven.pdf.cover.projectCompany</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>${pom.organization.name}</code>.</td>
</tr>
<tr>
<td>maven.pdf.cover.projectName</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>${pom.name}</code>.</td>
</tr>
<tr>
<td>maven.pdf.cover.type</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>Project Documentation</code>.</td>
</tr>
<tr>
<td>maven.pdf.cover.version</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>${pom.currentVersion}</code>.</td>
</tr>
<tr>
<td>maven.pdf.cover.date</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>June 2, 2003</code>.</td>
</tr>
<tr>
<td>maven.pdf.projectLogo</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>${pom.url}${pom.logo}</code>.</td>
</tr>
<tr>
<td>maven.pdf.companyLogo</td>
<td>Yes</td>
<td>Usage <b>not yet implemented.</b>Defaults to <code>${pom.organization.url}${pom.organization.logo}</code>
</td>
</tr>
</table>
</section>
</body>
</document>