docs(tree): implement PR feedback from 27977 (#27987)