mkapidocs.py: support parsing enum values