cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: How to build the site locally
Date Thu, 10 May 2007 14:01:26 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1256.html

Document ID: 1256
Branch: main
Language: default
Name: How to build the site locally (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/10/07 2:01:19 PM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1727 bytes (previous version: 1693 bytes)
Content diff:
    <html>
    <body>
    
    <p>This page explains how to build the Cocoon 2.2 documentation site with Maven2
--- and the daisy-maven-plugin written by Reinhard Potz.</p>
+++ and the daisy-maven-plugin.</p>
    
--- <p>This plugin assumes that each block has its own collection.</p>
+++ <p>This plugin assumes that each block has its own collection and navigation
+++ document.</p>
    
    <h1>Configure settings.xml</h1>
    
(13 equal lines skipped)
           &lt;id&gt;localDocs&lt;/id&gt;
           &lt;properties&gt;
              &lt;docs.deploymentBaseUrl&gt;file:///cocoon-site&lt;/docs.deploymentBaseUrl&gt;
---           &lt;docs.externalUrl&gt;http://www.example.org&lt;/docs.externalUrl&gt;
           &lt;/properties&gt;
         &lt;/profile&gt;
     &lt;/profiles&gt;  
(9 equal lines skipped)
    &lt;/settings&gt; 
    </pre>
    
+++ <h1>Build all modules required for the site generation</h1>
+++ 
+++ <pre>cd trunk
+++ mvn install -P daisy</pre>
+++ 
    <h1>Build the site</h1>
    
    <pre>cd trunk/site
--- mvn site -o
+++ mvn site -o -P daisy
    </pre>
    
--- <p class="note">You don't have to build the the site for every module every
+++ <p class="note">You don't have to build the complete site for every module every
    time. You can also go to a module, that is configured to provide docs, of your
    choice and build its docs only if this fits your needs.</p>
    
(9 equal lines skipped)


Mime
View raw message