dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04501
[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 108: Added XHTML docs rendering
------------------------------------------------------------
revno: 108
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2010-02-25 18:13:33 +0100
message:
Added XHTML docs rendering
modified:
pom.xml
readme.txt
--
lp:~dhis2-documenters/dhis2/dhis2-docbook-docs
https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs
Your team DHIS 2 developers is subscribed to branch lp:~dhis2-documenters/dhis2/dhis2-docbook-docs.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-documenters/dhis2/dhis2-docbook-docs/+edit-subscription.
=== modified file 'pom.xml'
--- pom.xml 2010-02-25 16:31:40 +0000
+++ pom.xml 2010-02-25 17:13:33 +0000
@@ -15,8 +15,9 @@
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
- <!-- <version>2.0.10-SNAPSHOT</version> -->
<artifactId>docbkx-maven-plugin</artifactId>
+ <version>2.0.10-SNAPSHOT</version>
+ <!-- Checkout and install with svn from http://docbkx-tools.googlecode.com/svn/trunk/docbkx-tools-read-only -->
<configuration>
<includes>dhis2_user_manual_en.xml</includes>
<sourceDirectory>${docbook.source}/en/</sourceDirectory>
@@ -101,6 +102,28 @@
</postProcess>
</configuration>
</execution>
+ <execution>
+ <id>xhtml-docs</id>
+ <phase>package</phase>
+ <goals>
+ <goal>generate-xhtml</goal>
+ </goals>
+ <configuration>
+ <htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
+ <glossaryCollection>resources/glossary_en.xml</glossaryCollection>
+ <sectionAutolabel>1</sectionAutolabel>
+ <sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
+ <chunkedOutput>false</chunkedOutput>
+ <postProcess>
+ <move file="target/docbkx/xhtml/dhis2_user_manual_en.xhtml" tofile="target/docbkx/xhtml/dhis2_user_manual_full.xhtml"/>
+ <copy todir="${docbook.target}/en/">
+ <fileset dir="target/docbkx/">
+ <include name="**/dhis2_user_manual_full.xhtml"/>
+ </fileset>
+ </copy>
+ </postProcess>
+ </configuration>
+ </execution>
</executions>
<dependencies>
<dependency>
=== modified file 'readme.txt'
--- readme.txt 2009-12-10 14:21:14 +0000
+++ readme.txt 2010-02-25 17:13:33 +0000
@@ -6,5 +6,9 @@
mvn package
+The latest maven docbook plugin can be checked out with subersion like this:
+
+svn checkout http://docbkx-tools.googlecode.com/svn/trunk/docbkx-tools-read-only
+
For further information, contact the groups mailing list at
dhis2-documenters@xxxxxxxxxxxxxxxxxxx
Follow ups