modifies spec to documentation layout