Skip to content
Permalink
Browse files
Missing docstring.
  • Loading branch information
ralsina committed May 30, 2017
1 parent cb5fe79 commit 94972b234c8e14281a063cf00d401bce5b00959a
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/compile/rest/__init__.py
@@ -355,5 +355,6 @@ class RemoveDocinfo(docutils.transforms.Transform):
default_priority = 870

def apply(self):
"""Remove docinfo nodes."""
for node in self.document.traverse(docutils.nodes.docinfo):
node.parent.remove(node)

0 comments on commit 94972b2

Please sign in to comment.