mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix resolution of references without domain.
This commit is contained in:
parent
af87d555ee
commit
f64d01bea2
@ -1215,7 +1215,7 @@ class BuildEnvironment:
|
||||
target = node['reftarget']
|
||||
|
||||
try:
|
||||
if node.has_key('refdomain'):
|
||||
if node.has_key('refdomain') and node['refdomain']:
|
||||
# let the domain try to resolve the reference
|
||||
try:
|
||||
domain = self.domains[node['refdomain']]
|
||||
|
Loading…
Reference in New Issue
Block a user