Author: "P. J. McDermott" Forwarded: not-needed Subject: Use non-None object inventory values in intersphinx_mapping --- a/docs/conf.py +++ b/docs/conf.py @@ -251,7 +251,12 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'python': ('http://docs.python.org/', None), - 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', None), - 'cairocffi': ('http://pythonhosted.org/cairocffi/', None), + 'python': ('http://docs.python.org/', + '/usr/share/doc/python' + + '.'.join([str(x) for x in sys.version_info[0:2]]) + + '/html/objects.inv'), + 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', + '/usr/share/doc/python-cairo-dev/html/objects.inv'), + 'cairocffi': ('http://pythonhosted.org/cairocffi/', + '/usr/share/doc/python-cairocffi-doc/html/objects.inv'), }