You need to have these two programs installed on your machine:
- Pygments - syntax highlighting for HTML and PDF
- Prince XML - converts HTML into PDF for the manual
There are two ways of building the documentation project:
mvn -Plive jetty:run
will make a live website copy available locally. This is very convenient while editing the docs to quickly review the changes you made.mvn clean install
will build the documentation project, creating 3 representations:- a war file containing the documentation webapp
- a pdf file (in
target/sitegen/manual.pdf
) - a static website, generated using the same templates (in
target/sitegen
)
If you're an Apache ServiceMix committer, you can publish a new copy of the documentation pages with this command:
mvn clean install scm-publish:publish-scm
- The war file currently can't be deployed on ServiceMix