Skip to content

Commit c664793

Browse files
author
Javier Quilez Oliete
committed
replace ipython with jupyter
1 parent 03b4b9a commit c664793

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

copy_analyses_to_public_docs.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
# Author: Javier Quilez (GitHub: jaquol)
88
# Goal: copy project-specific analyses from their original directory to the one which is visible
99
# 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/
1012
#==================================================================================================
1113

1214

@@ -21,6 +23,7 @@ analysis=$2
2123
# paths
2224
PROJECTS=$HOME/projects
2325
FILE_TRANSFER=$HOME/file_transfer
26+
ipy_hide_input=$HOME/utils/ipy_hide_input
2427

2528

2629

@@ -62,7 +65,9 @@ copy_directory() {
6265
#ls *ipynb
6366
#rm *slides.html
6467
#ls *slides.html
65-
ipython nbconvert --to slides *ipynb
68+
jupyter nbconvert --to slides *ipynb
69+
$ipy_hide_input $analysis.slides.html
70+
6671
# fi
6772
# cd
6873
done

0 commit comments

Comments
 (0)