Skip to content

Commit b5f19fe

Browse files
committed
tell sphinx-gallery to ignore _torch_export_nightly_tutorial.py
1 parent c3b64a8 commit b5f19fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ def reset_seeds(gallery_conf, fname):
106106
'first_notebook_cell': ("# For tips on running notebooks in Google Colab, see\n"
107107
"# https://pytorch.org/tutorials/beginner/colab\n"
108108
"%matplotlib inline"),
109-
'reset_modules': (reset_seeds)
109+
'reset_modules': (reset_seeds),
110+
'ignore_pattern': r'_torch_export_nightly_tutorial.py'
110111
}
111112

112113
if os.getenv('GALLERY_PATTERN'):

0 commit comments

Comments
 (0)