adding %doc support in index.yaml for files