Enable links to options without program name

This commit is contained in:
Georg Brandl 2014-09-20 13:47:01 +02:00
parent fbb8827345
commit 1fcef558fa

View File

@ -614,7 +614,7 @@ class StandardDomain(Domain):
# maybe an "any" directive, split it ourselves
progname, target = _split_option(target, node, env)
else:
return None
progname = None
docname, labelid = self.data['progoptions'].get((progname, target),
('', ''))
if not docname: