Skip to content

Commit

Permalink
doc8/checks: ignore emphasize-lines errors in Sphinx mode
Browse files Browse the repository at this point in the history
Fixes #24
  • Loading branch information
OddBloke authored and stephenfin committed Dec 10, 2019
1 parent 4b57d2e commit ce6639f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc8/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ class CheckValidity(ContentCheck):
re.compile(r"^Unknown directive type"),
re.compile(r"^Undefined substitution"),
re.compile(r"^Substitution definition contains illegal element"),
re.compile(
r'^Error in "code-block" directive:\nunknown option: "emphasize-lines"'
),
]

def __init__(self, cfg):
Expand Down

0 comments on commit ce6639f

Please sign in to comment.