Doc format cleanup

Fixes #414