cleans up docs