Convert to new docs format