Add processing of rst files.