DOC fix the incorrect doc style in 1.2.1
- [x] closes #39290
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry

hmm, this looks fine, IIRC did we somehow change the whatsnew way back when?

cc @simonjayhawkins @datapythonista  thanks @debnathshoham  @meeseeksdev backport 1.3.x Something went wrong ... Please have  a look at my logs.