diff options
author | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-08-13 11:44:09 +0200 |
---|---|---|
committer | Daniel Neuhäuser <ich@danielneuhaeuser.de> | 2010-08-13 11:44:09 +0200 |
commit | 134010e35734b986aa442a9e5047e5811dd1afa5 (patch) | |
tree | 7baf4090ea1b9c7906d88e4ad4ce25d1fb09d866 /sphinx/util/websupport.py | |
parent | 305977359d5a210c136d2ef638fb1365384bd187 (diff) | |
download | sphinx-git-134010e35734b986aa442a9e5047e5811dd1afa5.tar.gz |
Put literal_blocks under versioning
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r-- | sphinx/util/websupport.py | 10 |
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') |