Skip to content

Commit

Permalink
chore(_is_doct): Add .md as valid extension type
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jul 12, 2022
1 parent b75d11f commit 015d7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def pytest_collect_file(path, parent):


def _is_doctest(config, path, parent):
if path.ext in (".txt", ".rst") and parent.session.isinitpath(path):
if path.ext in (".txt", ".rst", ".md") and parent.session.isinitpath(path):
return True
globs = config.getoption("doctestglob") or ["test*.txt"]
for glob in globs:
Expand Down

0 comments on commit 015d7bc

Please sign in to comment.