Skip to content

Commit 0567af7

Browse files
committed
DOCSP-5424: ...Also ignore tocfiles and option files
1 parent 1de0bfd commit 0567af7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

snooty/parser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ def handle_directive(
367367
fileid.match("steps/*.rst")
368368
or fileid.match("extracts/*.rst")
369369
or fileid.match("release/*.rst")
370+
or fileid.match("option/*.rst")
371+
or fileid.match("toc/*.rst")
370372
):
371373
pass
372374
else:

0 commit comments

Comments
 (0)