diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2017-09-15 14:54:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-15 14:54:21 +0200 |
commit | 81b2796226f3abde29fc024752728444da77509a (patch) | |
tree | c52cec3c38552f9f8c15361758aa9a80c30c3ef3 /docs/nb_build | |
parent | e70d5420204db78691af2d0fbe04cc3d4416a8f4 (diff) | |
parent | 7fea2cd3e8ad29bf3fa442d7642bae124ee2bab0 (diff) |
Merge pull request #27 from rflamary/autonb
auto notebooks + release update (fixes #16)
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 |