clean raw docs output