diff options
| author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-06-06 12:52:44 +0900 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-06-06 13:24:06 +0900 |
| commit | e0500f7354989e5190ec874376535a1dfe65bab5 (patch) | |
| tree | 0b3916ca8b4719a401707780d5578a7e34cb4327 /utils | |
| parent | 69cbf7aa92b2d30a1d865de7429f6388cb94b946 (diff) | |
| download | sphinx-git-e0500f7354989e5190ec874376535a1dfe65bab5.tar.gz | |
doc: Fix docslint misunderstanding scope of code-blocks
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/doclinter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/doclinter.py b/utils/doclinter.py index f8df20bf7..6299fe46a 100644 --- a/utils/doclinter.py +++ b/utils/doclinter.py @@ -41,7 +41,7 @@ def lint(path: str) -> int: pass else: spaces = LEADING_SPACES.match(line).group(1) - if len(spaces) < code_block_depth: + if len(spaces) <= code_block_depth: in_code_block = False elif LONG_INTERPRETED_TEXT.match(line): pass |
