[master] do not print headings for empty sections in documentation