Change doc lists to headings