Skip to content

Adjust to cope with Sphinx 9#47

Open
cjwatson wants to merge 1 commit into
pyinvoke:mainfrom
cjwatson:sphinx-9
Open

Adjust to cope with Sphinx 9#47
cjwatson wants to merge 1 commit into
pyinvoke:mainfrom
cjwatson:sphinx-9

Conversation

@cjwatson
Copy link
Copy Markdown

There might be some way to make this extension work with the new sphinx.ext.autodoc implementation, but if so I don't know what it is; see sphinx-doc/sphinx#14089. For now, this seems to get things going again.

sphinx.ext.autodoc.stringify_signature was only ever a re-export from sphinx.util.inspect, so importing it directly from there should be safe with all the Sphinx versions that worked before.

There might be some way to make this extension work with the new
`sphinx.ext.autodoc` implementation, but if so I don't know what it is;
see sphinx-doc/sphinx#14089.  For now, this
seems to get things going again.

`sphinx.ext.autodoc.stringify_signature` was only ever a re-export from
`sphinx.util.inspect`, so importing it directly from there should be
safe with all the Sphinx versions that worked before.
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.

1 participant