Skip to content

Conversation

hoodmane
Copy link
Collaborator

@hoodmane hoodmane commented Jan 15, 2023

Sometimes a function's documentation will contain a section like 'Usage' or 'Examples', warnings about edge cases, etc. These sections are introduced with a .. directive::. This makes it so that sphinx-autodoc-typehints inserts the return type ahead of these sections, rather than after them.

Sometimes a function's documentation will contain a section like
'Usage' or 'Examples', warnings about edge cases, etc. These
sections are introduced with a .. directive::. This makes it so
that sphinx-autodoc-typehints inserts the return type ahead of
these sections, rather than after them.
@gaborbernat gaborbernat merged commit 4ab116d into tox-dev:main Jan 15, 2023
@hoodmane hoodmane deleted the examples-after-rtype branch January 15, 2023 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants