The document tree macro exposes a lot of optional parameters: we should create groups and improve ordering to ease the configuration of this macro.