mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable links to options without program name
This commit is contained in:
parent
fbb8827345
commit
1fcef558fa
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user