diff --git a/sphinxlint.py b/sphinxlint.py index 21a976b22..d796faf36 100755 --- a/sphinxlint.py +++ b/sphinxlint.py @@ -119,6 +119,10 @@ # .. versionchanged:: 3.6 three_dot_directive_re = re.compile(r"\.\.\. %s::" % all_directives) +# Find directive missing space after double colon, like: +# .. versionchanged::3.6 +missing_space_directive_re = re.compile(r"(?