def METHOD_NAME(rst_path, out_filename, reference_path):
    reader = ReStructuredTextReader()
    doctree = reader.parse(rst_path)
    return _render_file(rst_path, doctree, TEST_DIR / 'rst_output',
                        out_filename, reference_path)