File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 7
7
# Author: Javier Quilez (GitHub: jaquol)
8
8
# Goal: copy project-specific analyses from their original directory to the one which is visible
9
9
# from the public-docs website http://public-docs.crg.es/mbeato/jquilez/
10
+ # ipy_hide_input is used to remove the code from the *.slides.html report
11
+ # source: http://hannes-brt.github.io/blog/2013/08/11/ipython-slideshows-will-change-the-way-you-work/
10
12
# ==================================================================================================
11
13
12
14
@@ -21,6 +23,7 @@ analysis=$2
21
23
# paths
22
24
PROJECTS=$HOME /projects
23
25
FILE_TRANSFER=$HOME /file_transfer
26
+ ipy_hide_input=$HOME /utils/ipy_hide_input
24
27
25
28
26
29
@@ -62,7 +65,9 @@ copy_directory() {
62
65
# ls *ipynb
63
66
# rm *slides.html
64
67
# ls *slides.html
65
- ipython nbconvert --to slides * ipynb
68
+ jupyter nbconvert --to slides * ipynb
69
+ $ipy_hide_input $analysis .slides.html
70
+
66
71
# fi
67
72
# cd
68
73
done
You can’t perform that action at this time.
0 commit comments