Following this issue, geographika proposed a workaround that I'm using for my own documentation:
.. raw:: html
<div style="height: 0; visibility: hidden;">
My Title
========
.. raw:: html
</div>
I added the height: 0;
to avoid the title taking vertical space within the document.