diff options
Diffstat (limited to 'docs/nb_build')
-rwxr-xr-x | docs/nb_build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/nb_build b/docs/nb_build new file mode 100755 index 0000000..6abc6cf --- /dev/null +++ b/docs/nb_build @@ -0,0 +1,15 @@ +#!/bin/bash + + +# remove comment +sed -i "s/#'sphinx\_gallery/'sphinx\_gallery/" source/conf.py +sed -i "s/sys.modules.update/#sys.modules.update/" source/conf.py + +make html + +# put comment again +sed -i "s/'sphinx\_gallery/#'sphinx\_gallery/" source/conf.py +sed -i "s/#sys.modules.update/sys.modules.update/" source/conf.py + +#rsync --out-format="%n" --update source/auto_examples/*.ipynb ../notebooks2 +./nb_run_conv |