← Back to team overview

dhis2-devs team mailing list archive

Re: [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 108: Added XHTML docs rendering

 

Its now required to checkout and install the latest docbook maven plugin
with svn from

http://docbkx-tools.googlecode.com/svn/trunk/docbkx-tools-read-only
<http://docbkx-tools.googlecode.com/svn/trunk/docbkx-tools-read-only>
in order to build the docs.

Jo, would it be possible to upload this snapshot plugin to the dhis maven
repo?


Lars

On Thu, Feb 25, 2010 at 6:15 PM, <noreply@xxxxxxxxxxxxx> wrote:

> ------------------------------------------------------------
> 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References