sphinx icon indicating copy to clipboard operation
sphinx copied to clipboard

[autodoc] add support for ``python_display_short_literal``

Open picnixz opened this issue 1 year ago • 9 comments

Closes #11995.

@user27182 Could you check if this patch works? I added a test but since I refactored autodoc for that, I want to be sure that I didn't forget some places (and this can essentially be checked with large projects).

I won't merge this one until I get approval from another maintainer since it's a fairly sensitive component.

picnixz avatar Feb 24 '24 12:02 picnixz

So now, we have another flaky test on windows :laughing: It's entirely caused by the network so I don't have a good way to make it "safe and easy"

picnixz avatar Feb 29 '24 09:02 picnixz

So now, we have another flaky test on windows 😆 It's entirely caused by the network so I don't have a good way to make it "safe and easy"

Sorry that I didn't notice this earlier (I disabled my sphinx notification subscriptions a while ago after becoming overwhelmed) - it is now reported at #12038.

jayaddison avatar Mar 04 '24 23:03 jayaddison

About the Python3.13 test failures:

23 Mar 2024, 16:25 @[email protected] Launchpad is down due to unexpected hardware issues and our SREs are working to fix it.

jayaddison avatar Mar 23 '24 17:03 jayaddison

About the Python3.13 test failures:

23 Mar 2024, 16:25 @[email protected] Launchpad is down due to unexpected hardware issues and our SREs are working to fix it.

The PPA functionality of Launchpad appears to be restored; I'm not yet certain about the status of their other services.

jayaddison avatar Mar 23 '24 19:03 jayaddison

The output from the latest commit at 032bf8ce65716c9032bebb1153e0092e35f6bf3a appears to solve the problem in the minimal-repro case:

image

jayaddison avatar Mar 23 '24 21:03 jayaddison

(oops; I'm not claiming that that commit fixed it -- it's the one the screenshot was taken from though)

jayaddison avatar Mar 23 '24 21:03 jayaddison

I'll review a last time tomorrow when I'm on Linux before merging it.

picnixz avatar Mar 23 '24 22:03 picnixz

~~I'll wait for #12256 and #12257 and #12258 to be merged since it's easier for me if I don't have to resolve conflicts with those branches.~~

Waiting for 8.x or to make it in 7.3.x.

picnixz avatar Apr 10 '24 08:04 picnixz

Oh, now that the PRs for refactoring typing are merged, I can fix that one back !

picnixz avatar Apr 24 '24 07:04 picnixz

I'll need to solve those conflicts in my IDE because it'll be too hard otherwise.

picnixz avatar Jul 14 '24 01:07 picnixz