Fix other error in merging 'stable'

modified:   sphinx/ext/intersphinx.py
This commit is contained in:
jfbu 2017-03-03 11:05:04 +01:00
parent 8f5d1e1050
commit 179a769490

View File

@ -373,6 +373,9 @@ def missing_reference(app, env, node, contnode):
if not objtypes:
return
objtypes = ['%s:%s' % (domain, objtype) for objtype in objtypes]
if 'std:cmdoption' in objtypes:
# until Sphinx-1.6, cmdoptions are stored as std:option
objtypes.append('std:option')
to_try = [(inventories.main_inventory, target)]
in_set = None
if ':' in target: