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

Set default value for env.intersphinx_named_inventory #136

Merged
merged 1 commit into from Nov 17, 2021

Conversation

ConorMacBride
Copy link
Member

If intersphinx isn't used env.intersphinx_named_inventory fails in smart_resolver.py. This PR uses getattr to allow the default value of {}.

Closes #110
Closes #122

Signed-off-by: Conor MacBride <conor@macbride.me>
Copy link
Contributor

@saimn saimn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@saimn saimn merged commit 04d69ba into astropy:main Nov 17, 2021
@ConorMacBride ConorMacBride deleted the intersphinx-optional branch November 17, 2021 17:57
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.

crashing with sphinx 3.5.2 smart_resolver fails
2 participants