merge doc headers