Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: e3ee8d408e
Fetching contributors…

Cannot retrieve contributors at this time

71 lines (45 sloc) 2.145 kB

Documentation Format

The CuteFlow documentation uses reStructuredText as its markup language and Sphinx for building the output (HTML, PDF, ...).


reStructuredText "is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system".

You can learn more about its syntax by reading existing CuteFlow documents or by reading the reStructuredText Primer on the Sphinx website.

If you are familiar with Markdown, be careful as things as sometimes very similar but different:

  • Lists starts at the beginning of a line (no indentation is allowed);
  • Inline code blocks use double-ticks (``like this``).


Sphinx is a build system that adds some nice tools to create documentation from reStructuredText documents. As such, it adds new directives and interpreted text roles to standard reST markup.

Syntax Highlighting

All code examples uses PHP as the default highlighted language. You can change it with the code-block directive:

.. code-block:: yaml

    { foo: bar, bar: { foo: bar, bar: baz } }

If your PHP code begins with <?php, then you need to use html+php as the highlighted pseudo-language:

.. code-block:: html+php

    <?php echo $this->foobar(); ?>


A list of supported languages is available on the Pygments website.

Testing Documentation

To test documentation before a commit:

  • Install Sphinx;
  • Run make html and view the generated HTML in the build directory.
Jump to Line
Something went wrong with that request. Please try again.