doc: better tree doc