flatten docs on relish