documentation: fix inline docs style + hide if empty