Generated title underlines are too short because some characters are wider than others
It makes sphinx emit warnings when reading the changelogs.
🤖 Continuous integration
------------------------
changes/3.30.rst:4: WARNING: Title underline too short.
The problem comes from the fact that docutils takes the characters widths into account when computing a text's length.
Instead of len(title) we could use the column_width
function from docutils.utils to compute the required number of "=" or "-".