Skip to content

Commit a10d3da

Browse files
committed
DOC: Ignore out-of-date IPython notebook for now
1 parent 7cb5ea3 commit a10d3da

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@
4646
check=True,
4747
)
4848
source_dir = Path(tmpdir) / "package" / "niflow" / "nipype1" / "examples"
49-
shutil.copytree(source_dir, python_dir)
49+
shutil.copytree(
50+
source_dir,
51+
python_dir,
52+
ignore=lambda src, names: [n for n in names if n.endswith(".ipynb")],
53+
)
5054

5155
sp.run(
5256
[

0 commit comments

Comments
 (0)