summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2007-12-16 19:36:23 +0000
committergeorg.brandl <devnull@localhost>2007-12-16 19:36:23 +0000
commitda99b69d74c741be960d0b473d65ae6609a0971c (patch)
treeb9c495469266078507093c08dd2833c9d5cd6688 /sphinx/addnodes.py
parent8e2c44dc4bdb59dfb03f6b94776a91c1da797f2d (diff)
downloadsphinx-da99b69d74c741be960d0b473d65ae6609a0971c.tar.gz
Several improvements to the latex builder.
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index 6fecb92f..1a49a682 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -64,10 +64,13 @@ class literal_emphasis(nodes.emphasis): pass
# glossary
class glossary(nodes.Element): pass
+# module declaration
+class module(nodes.Element): pass
+
# make them known to docutils. this is needed, because the HTMl writer
# will choke at some point if these are not added
nodes._add_node_class_names("""index desc desc_content desc_signature desc_type
desc_classname desc_name desc_parameterlist desc_parameter desc_optional
centered versionmodified seealso productionlist production toctree
pending_xref compact_paragraph highlightlang literal_emphasis
- glossary acks""".split())
+ glossary acks module""".split())