Generate pdf doc - adjust headings for REST API section