Skip to content

Commit 16b3ac4

Browse files
committed
scheduled plugin update
1 parent aa83507 commit 16b3ac4

File tree

375 files changed

+8
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

375 files changed

+8
-3
lines changed

code/plugins/reformat_plugin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ def reformat_plugin_dir(plugin_input_dir, plugin_name, order, plugin_type='wiki'
2727
# copy image directory from input to output dir
2828
if os.path.exists(os.path.join(plugin_input_dir, 'images')):
2929
shutil.copytree(os.path.join(plugin_input_dir, 'images'), os.path.join(plugin_output_dir, 'images'), dirs_exist_ok=True)
30+
# copy all .jpg and .png files from input to output dir
31+
for root, dirs, files in os.walk(plugin_input_dir):
32+
for file in files:
33+
if file.endswith('.jpg') or file.endswith('.png'):
34+
shutil.copyfile(os.path.join(root, file), os.path.join(plugin_output_dir, file))
3035

3136
index_file = os.path.join(plugin_output_dir, 'index.md')
3237
shutil.copyfile(os.path.join(plugin_input_dir, 'README.md'), index_file)

plugins/ARfitStudio/Onchannels.png

107 KB

plugins/ARfitStudio/Onics.png

111 KB

plugins/ICLabel/ICLabel_menu.png

29 KB

plugins/ICLabel/Viewprops_eye.png

68.7 KB

plugins/NIMA/Alphacomparison.png

775 KB

plugins/NIMA/Blob_from2to7mm.png

648 KB

0 commit comments

Comments
 (0)