add metadata to rst files