Tidying up specs documentation output

There were inconsistencies in the output

[skip ci]