DEPR: use_inf_as_na
- [x] closes #51684 (Replace xxxx with the GitHub issue number)
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [ ] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [x] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

```
2023-06-01T20:16:55.9250397Z docstring of pandas.reset_option:305: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2023-06-01T20:16:55.9251576Z docstring of pandas.set_option:310: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2023-06-01T20:16:55.9254260Z docstring of pandas.describe_option:310: WARNING: Explicit markup ends without a blank line; unexpected unindent.
2023-06-01T20:16:55.9255238Z docstring of pandas.get_option:307: WARNING: Explicit markup ends without a blank line; unexpected unindent.
``` It isn't clear to me what those docbuild complaints are pointing to. Thanks @jbrockmendel 