File: nb_build

package info (click to toggle)
python-pot 0.7.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,792 kB
  • sloc: python: 10,662; cpp: 1,149; makefile: 258; sh: 18
file content (15 lines) | stat: -rwxr-xr-x 414 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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