generate better function list for docs