summaryrefslogtreecommitdiff
path: root/sphinx/addnodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/addnodes.py')
-rw-r--r--sphinx/addnodes.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/addnodes.py b/sphinx/addnodes.py
index f5ad7adad..3ff5772ca 100644
--- a/sphinx/addnodes.py
+++ b/sphinx/addnodes.py
@@ -212,6 +212,10 @@ class termsep(nodes.Structural, nodes.Element):
"""Separates two terms within a <term> node."""
+class manpage(nodes.Inline, nodes.TextElement):
+ """Node for references to manpages."""
+
+
# make the new nodes known to docutils; needed because the HTML writer will
# choke at some point if these are not added
nodes._add_node_class_names(k for k in globals().keys()