summaryrefslogtreecommitdiff
path: root/sphinx/util/websupport.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/websupport.py')
-rw-r--r--sphinx/util/websupport.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/sphinx/util/websupport.py b/sphinx/util/websupport.py
index b9a76e5c5..20a35cf69 100644
--- a/sphinx/util/websupport.py
+++ b/sphinx/util/websupport.py
@@ -7,12 +7,4 @@
:license: BSD, see LICENSE for details.
"""
-if False:
- # For type annotation
- from docutils import nodes # NOQA
-
-
-def is_commentable(node):
- # type: (nodes.Node) -> bool
- # return node.__class__.__name__ in ('paragraph', 'literal_block')
- return node.__class__.__name__ == 'paragraph'
+from sphinxcontrib.websupport.utils import is_commentable # NOQA