summaryrefslogtreecommitdiff
path: root/docs/nb_build
diff options
context:
space:
mode:
Diffstat (limited to 'docs/nb_build')
-rwxr-xr-xdocs/nb_build2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/nb_build b/docs/nb_build
index e0afbcd..2523d71 100755
--- a/docs/nb_build
+++ b/docs/nb_build
@@ -3,8 +3,10 @@
# 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