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']
|
target = node['reftarget']
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if node.has_key('refdomain'):
|
if node.has_key('refdomain') and node['refdomain']:
|
||||||
# let the domain try to resolve the reference
|
# let the domain try to resolve the reference
|
||||||
try:
|
try:
|
||||||
domain = self.domains[node['refdomain']]
|
domain = self.domains[node['refdomain']]
|
||||||
|
Loading…
Reference in New Issue
Block a user