better func enum doc format