DOC: Closed parameter not intuitively documented in DataFrame.rolling
- [x] closes #60485
- [ ] [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.
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

> Thanks for the PR! In addition, can we fix some of what was introduced in #60832. It seems to me the `closed` argument does not render the way I believe was intended.
> 
> https://pandas.pydata.org/pandas-docs/dev/reference/api/pandas.core.groupby.DataFrameGroupBy.rolling.html
> 
> Sphinx needs a blank line to induce a line break in the resulting html.
> 
> ![image](https://private-user-images.githubusercontent.com/45562402/409353272-7c72ca70-4c54-4bcc-8dce-f1bade9322b6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg2MzY1NDgsIm5iZiI6MTczODYzNjI0OCwicGF0aCI6Ii80NTU2MjQwMi80MDkzNTMyNzItN2M3MmNhNzAtNGM1NC00YmNjLThkY2UtZjFiYWRlOTMyMmI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA0VDAyMzA0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyOTAyOWNjMjc1YjgyODUzMmMxMTVjMmJlMTJhNjQwYTQ1NGJkODc1MTQ5ZGRhNTlmYTE5OWIyMGVmOTMwNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ot1oWDfuTmW-53k29QoykNt0ddK7tK1LO9zeVfViuBA)
> 
> In addition, I think the notation / language here can be tightened up.
> 
> > If `'right'`, (First, Last] the last point in the window is included in the calculations.
> 
> In the above, `(First, Last]` is inserted mid-sentence without any reference. I'd suggest
> 
> > If `right`, uses the window `(first, last]` meaning the last point is included in the calculations.

I agree with your comments and have updated the formatting as well. Thanks for pointing out the issue with the line break. @rhshadrach are there any other changes you think should be made? Thanks @SebastianOuslis - nice work!