diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-05-23 22:50:46 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-05-23 22:50:46 +0900 |
commit | 489d86d47094155c4334851a03abddfb25fc215a (patch) | |
tree | aee62e282292009d8097019b4efcdb0950db13d8 /sphinx/builders/latex/nodes.py | |
parent | 51962c715c3fed63300c08b503cc5ff55c6c89b1 (diff) | |
download | sphinx-git-489d86d47094155c4334851a03abddfb25fc215a.tar.gz |
Refactor: Add captioned_literal_block node to simplify LaTeX writer
Diffstat (limited to 'sphinx/builders/latex/nodes.py')
-rw-r--r-- | sphinx/builders/latex/nodes.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sphinx/builders/latex/nodes.py b/sphinx/builders/latex/nodes.py index c79adbae4..32ac7c6a0 100644 --- a/sphinx/builders/latex/nodes.py +++ b/sphinx/builders/latex/nodes.py @@ -12,6 +12,11 @@ from docutils import nodes +class captioned_literal_block(nodes.container): + """A node for a container of literal_block having a caption.""" + pass + + class footnotemark(nodes.Inline, nodes.Referential, nodes.TextElement): """A node represents ``\footnotemark``.""" pass |