Move .catalog-mode to doc.