parameters: (env, target, source, resources=[])
docstring: Compile an RST document to HTML.
docstring_summary: Compile an RST document to HTML.
docstring_tokens: Compile an RST document to HTML .
function: def BoostRST(env, target, source, resources=[]):
      """Compile an RST document to HTML."""
  
      prefix=Dir('.').path
      for r in resources:
          r = File(r).path[len(prefix)+1:]
          env.Depends('html/' + r, r)
          env.Command('html/' + r, r, Copy('$TARGET', '$SOURCE'))
      env.Command(target, source,
                  'rst2html --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css $SOURCE $TARGET')
function_tokens: def BoostRST ( env , target , source , resources = [ ] ) : prefix = Dir ( '.' ) . path for r in resources : r = File ( r ) . path [ len ( prefix ) + 1 : ] env . Depends ( 'html/' + r , r ) env . Command ( 'html/' + r , r , Copy ( '$TARGET' , '$SOURCE' ) ) env . Command ( target , source , 'rst2html --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css $SOURCE $TARGET' )