This repository contains the sources of the camunda BPM doumentation.
The page is built using the DocPad web framework.
The site/src/
folder contains the sources for the website.
In order to start hacking the docs.camunda.org site, you first need to setup DocPad:
- Install node.js.
- Open a terminal, navigate to the
site/
folder and typenpm install
. - Optional: Install docpad via
npm install -g docpad
if you want to have it globally available in your path.
Once all tools are installed, you can build the site:
- Open a terminal, navigate to the
site/
folder and typenpm update
. - Run DocPad using
./node_modules/.bin/docpad run
or justdocpad run
if you installed it globally. - Go to http://localhost:9779/.
Have fun.
Whenever possible, documentation should be written in Markdown
Some special notes on how to write it (view the source of this document for the actual markdown source code):
Use a sequence of three backticks (```) in the lines before and after your code.
When used
-
During an enumeration, indent the code (including the backticks)
Like this to let the code block be properly rendered as part of the enum item.
and to allow other text to follow after the code snipped as part of the enum, too.
Use a single empty line between enumerations / paragraphs / headings / code snippets.
Use a double empty line before headings to make a document more readable.
Use HTML markup with twitter bootstrap flavour
-
for notes
<div class="{alert|info|error|success}"> <strong>{summary}</strong> {description message} </div>
-
for tables
<table class="table"> <thead> <tr> <th>col2</th> <th>col1</th> </tr> </thead> <tbody> <tr> <td>foo</td> <td>bar</td> </tr> <tr> <td>asdf</td> <td>gh</td> </tr> </tbody> </table>
The content on this project is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.