Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-function declaration in Python domain has cramped vertical spacing in latexpdf output #9940

Closed
jfbu opened this issue Dec 5, 2021 · 1 comment · Fixed by #9941
Closed

Comments

@jfbu
Copy link
Contributor

jfbu commented Dec 5, 2021

How to Reproduce

.. py:function:: __dpd_addsd3 (a, b)
                 __bid_addsd3 (a, b)
                 __dpd_adddd3 (a, b)
                 __bid_adddd3 (a, b)
                 __dpd_addtd3 (a, b)
                 __bid_addtd3 (a, b)

    something

Additional context

Mentioned at #9924 (comment)

@jfbu jfbu added the type:bug label Dec 5, 2021
@jfbu
Copy link
Contributor Author

jfbu commented Dec 5, 2021

(this new template for bug reports makes for annoyingly long descriptions)

jfbu added a commit to jfbu/sphinx that referenced this issue Dec 5, 2021
Avoid \pysiglinewithargsret tricks to get correct vertical spacing
in multiline declarations in case mark-up inserts a \phantomsection.

Activate such tricks also in \pysigline, but now with the
\phantomsection test.

Relates sphinx-doc#7241, sphinx-doc#8980, sphinx-doc#8995
jfbu added a commit to jfbu/sphinx that referenced this issue Dec 5, 2021
Avoid \pysiglinewithargsret tricks to get correct vertical spacing
in multiline declarations in case mark-up inserts a \phantomsection.

Activate such tricks also in \pysigline, but now with the
\phantomsection test.

Relates sphinx-doc#7241, sphinx-doc#8980, sphinx-doc#8995
@jfbu jfbu modified the milestones: 4.3.2, 4.4.0 Dec 5, 2021
jfbu added a commit to jfbu/sphinx that referenced this issue Dec 9, 2021
Fix sphinx-doc#9940

Avoid \pysiglinewithargsret tricks to get correct vertical spacing
in multiline declarations in case mark-up inserts a \phantomsection.

Activate such tricks also in \pysigline, but now with the
\phantomsection test.

Relates sphinx-doc#7241, sphinx-doc#8980, sphinx-doc#8995
jfbu added a commit that referenced this issue Dec 11, 2021
Fix Multi-function declaration in Python domain has cramped vertical spacing   in latexpdf output (#9940)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant