Give doctest section titles a line of whitespace beneath.

A very simple pull request that fixes issue #6588.

I don't think there's much else to it than that! This is one of my first pull requests ever so I do apologise if there are any issues.