more cleanup of code blocks in headers.rst formatting.