rSTTask

Renders rST (reStructuredText) files into different output formats.

This task requires the python docutils installed. They contain rst2html, rst2latex, rst2man, rst2odt, rst2s5, rst2xml.

Homepage: https://gitorious.org/phing/rsttask

Table 140. Attributes

Name Type Description Default Required
file String rST input file to render n/a Yes (or fileset)
format String

Output format:

  • html

  • latex

  • man

  • odt

  • s5

  • xml

html No
destination String Path to store the rendered file to. Used as directory if it ends with a /. magically determined from input file No
uptodate Boolean Only render if the input file is newer than the target file false No
toolpath String Path to the rst2* tool determined from format No
toolparam String Additional commandline parameters to the rst2* tool n/a No
mode Integer The mode to create directories with. From umask No