-
-
Notifications
You must be signed in to change notification settings - Fork 48
builds fail with a KeyError 'refexplicit' when using sphinx 3.0.0 #99
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
Comments
…ibility to sphinx v3.0.0 (astropy/sphinx-automodapi#99)
I had the same problem and I found that the problem is coming because of some 'not so simple' typing e.g.: def funct(n1: int, n2: str ) -> List[int, str]: the solution I found is to use the extension typehints https://github.com/agronholm/sphinx-autodoc-typehints |
would either of you interested in opening a PR with the fix? I also vaguely recall the sunpy folks run into a sphinx issue, too with 3.0, maybe it was the same? cc @Cadair |
@bsipocz My knowledge of |
@rocco8773 - thanks! |
Uh oh!
There was an error while loading. Please reload this page.
When trying to fix our documentation builds on PlasmaPy/PlasmaPy#780 I discovered there's an incompatibility with
sphinx
v3.0.0
(see error log below). When I freezesphinx
tov2.4.4
or excludesphinx_automodapi.smart_resolver
, then the error resolves. I think this is also related to #98 and looks very similar to sphinx-doc/sphinx#3350, which was resolved like this sphinx-doc/sphinx@1498897.Error log
The text was updated successfully, but these errors were encountered: