mkapidocs.py: support protection-level; only show public items