mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix other error in merging 'stable'
modified: sphinx/ext/intersphinx.py
This commit is contained in:
parent
8f5d1e1050
commit
179a769490
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user