updated tidy in documentation code