summaryrefslogtreecommitdiff
path: root/docs/nb_build
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-08-30 16:22:45 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-08-30 16:22:45 +0200
commit7ccb822acd9e8072e733e4e74f25436e7b8fc16e (patch)
treebda4057f57cef0afcc215705c0ad6ec28dde67f9 /docs/nb_build
parent16697047eff9326a0ecb483317c13a854a3d3a71 (diff)
add script for building gallery
Diffstat (limited to 'docs/nb_build')
-rwxr-xr-xdocs/nb_build9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/nb_build b/docs/nb_build
new file mode 100755
index 0000000..d0d01ff
--- /dev/null
+++ b/docs/nb_build
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+
+# remove comment
+sed -i "s/#'sphinx\_gallery/'sphinx\_gallery/" source/conf.py
+
+
+# put comment again
+sed -i "s/'sphinx\_gallery/#'sphinx\_gallery/" source/conf.py