summaryrefslogtreecommitdiff
path: root/sphinx/ext/mathbase.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-17 23:19:41 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-20 15:13:59 +0900
commite6c51bd535ac5d60dacff726accb084326442955 (patch)
treed3c29159a36c4458770425ec0bd881c93da740f5 /sphinx/ext/mathbase.py
parentfc5f5e3b866de37778bfeb063d7fd7f1b522195c (diff)
downloadsphinx-git-e6c51bd535ac5d60dacff726accb084326442955.tar.gz
refactor: Move math_reference node to sphinx.builders.latex.nodes
The node is only used in latex builder. So this makes it builder- specific node.
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r--sphinx/ext/mathbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py
index 448f329b2..9ad07a12b 100644
--- a/sphinx/ext/mathbase.py
+++ b/sphinx/ext/mathbase.py
@@ -14,7 +14,7 @@ import warnings
from docutils import nodes
from sphinx.addnodes import math, math_block as displaymath
-from sphinx.addnodes import math_reference as eqref # NOQA # to keep compatibility
+from sphinx.builders.latex.nodes import math_reference as eqref # NOQA # to keep compatibility
from sphinx.deprecation import RemovedInSphinx30Warning
from sphinx.domains.math import MathDomain # NOQA # to keep compatibility
from sphinx.domains.math import MathReferenceRole as EqXRefRole # NOQA # to keep compatibility