doc: avoid emitting empty func labels