sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1590239 - in /sling/whiteboard/olli/documentation: ./ book/ book/src/ book/src/docbkx/ book/src/fonts/
Date Sat, 26 Apr 2014 13:59:15 GMT
Author: olli
Date: Sat Apr 26 13:59:14 2014
New Revision: 1590239

URL: http://svn.apache.org/r1590239
Log:
SLING-3519 add DocBook book stub

* generate a single PDF
* use Gentium font (http://openfontlibrary.org/en/font/gentium)

Added:
    sling/whiteboard/olli/documentation/
    sling/whiteboard/olli/documentation/book/
    sling/whiteboard/olli/documentation/book/pom.xml
    sling/whiteboard/olli/documentation/book/src/
    sling/whiteboard/olli/documentation/book/src/docbkx/
    sling/whiteboard/olli/documentation/book/src/docbkx/book.xml
    sling/whiteboard/olli/documentation/book/src/fonts/
    sling/whiteboard/olli/documentation/book/src/fonts/GenBasB.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBasBI.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBasI.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBasR.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasB.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasBI.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasI.ttf   (with props)
    sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasR.ttf   (with props)
    sling/whiteboard/olli/documentation/pom.xml
    sling/whiteboard/olli/documentation/run.sh   (with props)

Added: sling/whiteboard/olli/documentation/book/pom.xml
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/pom.xml?rev=1590239&view=auto
==============================================================================
--- sling/whiteboard/olli/documentation/book/pom.xml (added)
+++ sling/whiteboard/olli/documentation/book/pom.xml Sat Apr 26 13:59:14 2014
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.sling.documentation</groupId>
+    <artifactId>documentation</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+    <relativePath>../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>org.apache.sling.documentation.book</artifactId>
+  <version>0.0.1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>Apache Sling Documentation Book</name>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>com.agilejava.docbkx</groupId>
+        <artifactId>docbkx-maven-plugin</artifactId>
+        <configuration>
+          <includes>book.xml</includes>
+          <bodyFontFamily>GenBasR</bodyFontFamily>
+          <titleFontFamily>GenBasB</titleFontFamily>
+          <fonts>
+            <font>
+              <name>GenBasB</name>
+              <style>normal</style>
+              <weight>normal</weight>
+              <embedFile>${basedir}/src/fonts/GenBasB.ttf</embedFile>
+              <metricsFile>${basedir}/target/fonts/GenBasB-metrics.xml</metricsFile>
+            </font>
+            <font>
+              <name>GenBasR</name>
+              <style>normal</style>
+              <weight>normal</weight>
+              <embedFile>${basedir}/src/fonts/GenBasR.ttf</embedFile>
+              <metricsFile>${basedir}/target/fonts/GenBasR-metrics.xml</metricsFile>
+            </font>
+          </fonts>
+        </configuration>
+        <executions>
+          <execution>
+            <goals>
+              <goal>generate-pdf</goal>
+            </goals>
+            <phase>compile</phase>
+          </execution>
+        </executions>
+        <dependencies>
+          <dependency>
+            <groupId>net.sf.docbook</groupId>
+            <artifactId>docbook-xml</artifactId>
+            <version>5.1b4-all</version>
+            <classifier>resources</classifier>
+            <type>zip</type>
+            <scope>runtime</scope>
+          </dependency>
+        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>com.agilejava.docbkx</groupId>
+        <artifactId>docbkx-fop-support</artifactId>
+        <executions>
+          <execution>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>generate</goal>
+            </goals>
+            <configuration>
+              <ansi>true</ansi>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Added: sling/whiteboard/olli/documentation/book/src/docbkx/book.xml
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/docbkx/book.xml?rev=1590239&view=auto
==============================================================================
--- sling/whiteboard/olli/documentation/book/src/docbkx/book.xml (added)
+++ sling/whiteboard/olli/documentation/book/src/docbkx/book.xml Sat Apr 26 13:59:14 2014
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<book version="5.1" xml:lang="en" xmlns="http://docbook.org/ns/docbook"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xsi:schemaLocation="http://docbook.org/ns/docbook http://www.docbook.org/xml/5.1CR2/rng/docbook.rng">
+
+  <title>Apache Sling</title>
+
+  <info>
+
+    <title>Apache Sling</title>
+
+    <authorgroup>
+      <author>
+        <orgname>The Apache Sling Project</orgname>
+      </author>
+    </authorgroup>
+
+    <copyright>
+      <year>2014</year>
+      <holder>The Apache Software Foundation</holder>
+    </copyright>
+
+  </info>
+
+  <preface>
+
+    <title>Apache Sling - Bringing back the Fun!</title>
+
+    <para>Apache Sling™ is an innovative web framework that is intended to bring
back the fun to web development.</para>
+
+  </preface>
+
+  <chapter>
+
+    <title>Getting Started</title>
+
+  </chapter>
+
+</book>

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBasB.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBasB.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasB.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasB.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBasBI.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBasBI.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasBI.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasBI.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBasI.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBasI.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasI.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasI.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBasR.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBasR.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasR.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBasR.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasB.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasB.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasB.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasB.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasBI.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasBI.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasBI.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasBI.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasI.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasI.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasI.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasI.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasR.ttf
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasR.ttf?rev=1590239&view=auto
==============================================================================
Binary file - no diff available.

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasR.ttf
------------------------------------------------------------------------------
    svn:executable = *

Propchange: sling/whiteboard/olli/documentation/book/src/fonts/GenBkBasR.ttf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: sling/whiteboard/olli/documentation/pom.xml
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/pom.xml?rev=1590239&view=auto
==============================================================================
--- sling/whiteboard/olli/documentation/pom.xml (added)
+++ sling/whiteboard/olli/documentation/pom.xml Sat Apr 26 13:59:14 2014
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.sling.documentation</groupId>
+  <artifactId>documentation</artifactId>
+  <version>0.0.1-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <name>Apache Sling Documentation</name>
+
+  <modules>
+    <module>book</module>
+  </modules>
+
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>com.agilejava.docbkx</groupId>
+          <artifactId>docbkx-maven-plugin</artifactId>
+          <version>2.0.15</version>
+        </plugin>
+        <plugin>
+          <groupId>com.agilejava.docbkx</groupId>
+          <artifactId>docbkx-fop-support</artifactId>
+          <version>2.0.15</version>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
+</project>

Added: sling/whiteboard/olli/documentation/run.sh
URL: http://svn.apache.org/viewvc/sling/whiteboard/olli/documentation/run.sh?rev=1590239&view=auto
==============================================================================
--- sling/whiteboard/olli/documentation/run.sh (added)
+++ sling/whiteboard/olli/documentation/run.sh Sat Apr 26 13:59:14 2014
@@ -0,0 +1 @@
+mvn -f ./pom.xml clean install && open -a Preview ./book/target/docbkx/pdf/book.pdf

Propchange: sling/whiteboard/olli/documentation/run.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message