We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7855b commit bdb88e1Copy full SHA for bdb88e1
docs/source/conf.py
@@ -121,9 +121,13 @@ def _get_pattern():
121
}
122
123
ret = {"filename_pattern": "tutorial.py"}
124
+ no_build = r"/examples/tutorials/asr_inference_with_cuda_ctc_decoder_tutorial.py"
125
if os.getenv("GALLERY_PATTERN"):
126
# See https://github.com/pytorch/tutorials/blob/cbf2238df0e78d84c15bd94288966d2f4b2e83ae/conf.py#L75-L83
- ret["ignore_pattern"] = r"/(?!" + re.escape(os.getenv("GALLERY_PATTERN")) + r")[^/]+$"
127
+ ret["ignore_pattern"] = r"(/(?!" + re.escape(os.getenv("GALLERY_PATTERN")) + r")[^/]+$)"
128
+ ret["ignore_pattern"] += "|(" + no_build + ")"
129
+ else:
130
+ ret["ignore_pattern"] = no_build
131
return ret
132
133
0 commit comments