summaryrefslogtreecommitdiff
path: root/sphinx/builders/latex/nodes.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-16 23:16:03 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-09-16 23:16:14 +0900
commit58711d5ad9159995584dec3a2b4f35acc3dfd3c9 (patch)
tree55567eb6e21d2486572c748c2c2b3366e0d92879 /sphinx/builders/latex/nodes.py
parente756c209a558b58840b8969c448c146bbd01307d (diff)
downloadsphinx-git-58711d5ad9159995584dec3a2b4f35acc3dfd3c9.tar.gz
Fix #5433: latex: ImportError: cannot import name 'DEFAULT_SETTINGS'
Diffstat (limited to 'sphinx/builders/latex/nodes.py')
-rw-r--r--sphinx/builders/latex/nodes.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/sphinx/builders/latex/nodes.py b/sphinx/builders/latex/nodes.py
index 32ac7c6a0..2dfba1b57 100644
--- a/sphinx/builders/latex/nodes.py
+++ b/sphinx/builders/latex/nodes.py
@@ -35,3 +35,12 @@ class math_reference(nodes.Inline, nodes.Referential, nodes.TextElement):
class thebibliography(nodes.container):
"""A node for wrapping bibliographies."""
pass
+
+
+HYPERLINK_SUPPORT_NODES = (
+ nodes.figure,
+ nodes.literal_block,
+ nodes.table,
+ nodes.section,
+ captioned_literal_block,
+)