rebuild EC docs