summaryrefslogtreecommitdiff
path: root/docs/nb_build
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-01-20 14:07:53 +0100
committerGard Spreemann <gspr@nonempty.org>2020-01-20 14:07:53 +0100
commitbdfb24ff37ea777d6e266b145047cd4e281ebac3 (patch)
tree00cbac5f3dc25a4ee76164828abd72c1cbab37cc /docs/nb_build
parentabc441b00f0fe2fa4ef0efc4e1aa67b27cca9a13 (diff)
parent5e70a77fbb2feec513f21c9ef65dcc535329ace6 (diff)
Merge tag '0.6.0' into debian/sid
Diffstat (limited to 'docs/nb_build')
-rwxr-xr-xdocs/nb_build15
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