You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2007/05/10 16:01:26 UTC
[DAISY] Updated: How to build the site locally
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)
<id>localDocs</id>
<properties>
<docs.deploymentBaseUrl>file:///cocoon-site</docs.deploymentBaseUrl>
--- <docs.externalUrl>http://www.example.org</docs.externalUrl>
</properties>
</profile>
</profiles>
(9 equal lines skipped)
</settings>
</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)