summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-15 22:26:16 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-05-17 00:42:44 +0900
commit5f31f9dbab0cc1207ab89f109037b14e014d1e03 (patch)
treee2b1bc75717bdcb8c262d1e02b08df9684885ead /sphinx/addnodes.py
parenta4c7be6fcdf6d6fcef8d781707a86a7eb8216bb5 (diff)
downloadsphinx-git-5f31f9dbab0cc1207ab89f109037b14e014d1e03.tar.gz
Enable eq role by default
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 37e54cfc7..40390f346 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -231,6 +231,11 @@ class displaymath(math_block):
"""
+class math_reference(nodes.Inline, nodes.Referential, nodes.TextElement):
+ """Node for a reference for equation."""
+ pass
+
+
# other directive-level nodes
class index(nodes.Invisible, nodes.Inline, nodes.TextElement):