Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The ServiceMix documentation project aims to build a set of manuals for ServiceMix using DocBook XML Scalate.

...

Sample output

For ServiceMix 4.3-SNAPSHOT

: http://servicemix.apache.org/docs/4.3.0-SNAPSHOT/Image Added

Source code

The source code for this project can be found at

Branches:

  • trunk refers to the next development version of ServiceMix (currently 4.3-SNAPSHOT)

Content can be added in two formats:

  • pure DocBook XML source files go in the src/docbkx folder
  • a Confluence-alike wiki markup can be used in src/confluence

Project layout

Prerequisites

Before being able to build and run this project, you need to download and install:

Project layout

The project is a basic Maven WAR project. Some important directories and files in the project:

  • src/main/webapp/commands : TOC and index files for Console Commands manual section
  • src/main/webapp/karaf : TOC and index files for Karaf manual section
  • src/main/webapp/users-guide : The ServiceMix User's Guide section
  • src/main/webapp/WEB-INF/scalate/layouts : Scalate SSP templates for the site
  • common : common files (xsl, css, ...)
  • docs : common maven plugin setup for underlying projects
  • docs/manual : Programmer's Manual
  • docs/jbi : JBI Reference Manual

Building and deploying

The documentation can be built by running mvn clean install on the documentation project. This will create and install:

  • target/sitegen: a local copy of the static website
  • A WAR file for installing the documentation on an application server
  • PDF file for the users-guide directory

You can also deploy the site directly by running mvn sitescalate:deploy afterwards, provided you have set up the correct credentials for people.apache.org in ~/.m2/settings.xml:

...