summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
blob: a20947a8da8a767a20085c1e70e51579d4ab669e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
"""
    sphinx.util.websupport
    ~~~~~~~~~~~~~~~~~~~~~~

    :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

def is_commentable(node):
    #return node.__class__.__name__ in ('paragraph', 'literal_block')
    return node.__class__.__name__ == 'paragraph'