astropy / sphinx-automodapi

Sphinx extension for generating API documentation
https://sphinx-automodapi.readthedocs.io
BSD 3-Clause "New" or "Revised" License
65 stars 45 forks source link

Set default value for env.intersphinx_named_inventory #136

Closed ConorMacBride closed 3 years ago

ConorMacBride commented 3 years ago

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