From 134010e35734b986aa442a9e5047e5811dd1afa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Neuh=C3=A4user?= Date: Fri, 13 Aug 2010 11:44:09 +0200 Subject: Put literal_blocks under versioning --- sphinx/util/websupport.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 sphinx/util/websupport.py (limited to 'sphinx/util/websupport.py') diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py new file mode 100644 index 000000000..f99f4d31d --- /dev/null +++ b/sphinx/util/websupport.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +""" + sphinx.util.websupport + ~~~~~~~~~~~~~~~~~~~~~~ + + :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. + :license: BSD, see LICENSE for details. +""" +def is_commentable(node): + return node.__class__.__name__ in ('paragraph', 'literal_block') -- cgit v1.2.1