Add subtitle and section to title skipping

This commit is contained in:
Joshua Harlow 2014-05-18 21:48:55 -07:00
parent e6c044097b
commit a21309f952
1 changed files with 2 additions and 0 deletions

View File

@ -193,6 +193,8 @@ class CheckMaxLineLength(ContentCheck):
)
title_types = (
docutils_nodes.title,
docutils_nodes.subtitle,
docutils_nodes.section,
)
max_line_length = self._cfg['max_line_length']
allow_long_titles = self._cfg['allow_long_titles']