Skip to content

Commit 9df5900

Browse files
remove copy function and use the sphinx gallery parameter to copy various file types
1 parent a47c9bc commit 9df5900

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

doc/htmldoc/conf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"gallery_dirs": "auto_examples",
8181
"plot_gallery": "False",
8282
"download_all_examples": False,
83+
"copyfile_regex": r".*\.rst|.*\.png|.*\.svg|Snakefile|.*\.txt",
8384
}
8485

8586
# General information about the project.
@@ -260,14 +261,6 @@
260261
]
261262

262263

263-
def copy_example_file(src):
264-
copyfile(os.path.join(pynest_dir, src), Path("examples") / Path(src).parts[-1])
265-
266-
267-
# -- Copy documentation for Microcircuit Model ----------------------------
268-
copy_example_file("examples/hpc_benchmark_connectivity.svg")
269-
270-
271264
def patch_documentation(patch_url):
272265
"""Apply a hot-fix patch to the documentation before building it.
273266

0 commit comments

Comments
 (0)