← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1174: First refactor to support a developer manual.

 

------------------------------------------------------------
revno: 1174
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2-docbook-docs
timestamp: Thu 2014-08-21 10:47:18 +0200
message:
  First refactor to support a developer manual.
added:
  src/docbkx/en/dhis2_developer_manual.xml
modified:
  pom.xml


--
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	2014-06-23 10:43:22 +0000
+++ pom.xml	2014-08-21 08:47:18 +0000
@@ -58,7 +58,7 @@
 				<configuration>
 					<xincludeSupported>true</xincludeSupported>
 				</configuration>
-				<!-- Chunked HTML -->
+				<!-- Chunked HTML User docs-->
 				<executions>
 					<execution>
 						<id>chunked-html-docs-user</id>
@@ -100,6 +100,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
+					<!-- Chunked HTML End User docs-->
 					<execution>
 						<id>chunked-html-docs-end-user</id>
 						<phase>package</phase>
@@ -135,7 +136,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
-					
+					<!-- Chunked HTML CCEI User docs-->
 					<execution>
 						<id>chunked-html-docs-ccei-user</id>
 						<phase>package</phase>
@@ -176,7 +177,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
-					
+					<!-- Chunked HTML Implementer docs-->
 					<execution>
 						<id>chunked-html-docs-implementer</id>
 						<phase>package</phase>
@@ -212,7 +213,40 @@
 							</postProcess>
 						</configuration>
 					</execution>
-					
+					<execution>
+						<id>chunked-html-docs-developer</id>
+						<phase>package</phase>
+						<goals>
+							<goal>generate-html</goal>
+						</goals>
+						<configuration>
+							<admonGraphics>1</admonGraphics>
+							<admonGraphicsPath>resources/images/admon/</admonGraphicsPath>
+							<htmlStylesheet>resources/css/docbook_bsd.css</htmlStylesheet>
+							<sectionAutolabel>1</sectionAutolabel>
+							<sectionLabelIncludesComponentLabel>1</sectionLabelIncludesComponentLabel>
+							<chunkedOutput>true</chunkedOutput>
+							<includes>dhis2_developer_manual.xml</includes>
+							<sourceDirectory>${docbook.source}/en/</sourceDirectory>
+							<targetDirectory>${docbook.target}/en/developer/html</targetDirectory>
+							<postProcess>
+								<copy todir="${docbook.target}/en/developer/html/resources/images">
+									<fileset dir="src/docbkx/en/resources/images">
+										<include name="**/*.png" />
+										<include name="**/*.PNG" />
+										<include name="**/*.gif" />
+										<include name="**/*.jpg" />
+										<include name="**/*.svg" />
+									</fileset>
+								</copy>
+								<copy todir="${docbook.target}/en/developer/html/resources/css">
+									<fileset dir="src/docbkx/en/resources/css">
+										<include name="**/*.css" />
+									</fileset>
+								</copy>
+							</postProcess>
+						</configuration>
+					</execution>
 					<!-- Single page HTML -->
 					<execution>
 						<id>html-docs-en</id>
@@ -239,7 +273,7 @@
 						</configuration>
 					</execution>
 					
-					<!-- PDF -->
+					<!-- PDF User docs-->
 					<execution>
 						<id>pdf-docs-en-user</id>
 						<phase>package</phase>
@@ -258,7 +292,8 @@
 							</postProcess>
 						</configuration>
 					</execution>
-
+					
+					<!-- PDF CCEI User docs-->
 					<execution>
 						<id>pdf-docs-en-ccei-user</id>
 						<phase>package</phase>
@@ -277,7 +312,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
-					
+					<!-- PDF Implementer docs-->
 					<execution>
 						<id>pdf-docs-en-implementer</id>
 						<phase>package</phase>
@@ -296,6 +331,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
+					<!-- PDF End User docs-->
 					<execution>
 						<id>pdf-docs-en-end-user</id>
 						<phase>package</phase>
@@ -314,6 +350,7 @@
 							</postProcess>
 						</configuration>
 					</execution>
+					<!-- PDF Documentation docs-->
 					<execution>
 						<id>pdf-documentation-guide</id>
 						<phase>package</phase>

=== added file 'src/docbkx/en/dhis2_developer_manual.xml'
--- src/docbkx/en/dhis2_developer_manual.xml	1970-01-01 00:00:00 +0000
+++ src/docbkx/en/dhis2_developer_manual.xml	2014-08-21 08:47:18 +0000
@@ -0,0 +1,21 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; [
+       <!ENTITY title 'DHIS2 Developer Manual'>]>
+<book>
+ <title>&title;</title>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="resources/bookinfo/bookinfo.xml" encoding="UTF-8"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_technical_architechture_guide.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_user_man_web_api.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_user_man_apps.xml"/>
+  <appendix>
+    <title>R and DHIS 2 Integration</title>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_intro"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_odbc"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_mydatamart"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_maps"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_google_vis"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_plr"/>
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="dhis2_r.xml" encoding="UTF-8" xpointer="dhis2_r_web_api"/>
+  </appendix>
+ 
+</book>