summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-14 14:44:34 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-14 14:44:34 +0200
commit7925ad0efe64ad63789948d92898e9353e5d68b6 (patch)
tree595520e238e3163c9b81e562948c2582da3f5809 /sphinx/util/websupport.py
parent8581b49545c54525308325396ad6153f09a83bc9 (diff)
parent6f91352415b0880e1b09f5c87468785b41ab38f7 (diff)
downloadsphinx-git-7925ad0efe64ad63789948d92898e9353e5d68b6.tar.gz
Automated merge with ssh://bitbucket.org/birkenfeld/sphinx-web-support
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r--sphinx/util/websupport.py10
1 files changed, 10 insertions, 0 deletions
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')