File: nb_build

package info (click to toggle)
python-pot 0.9.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,884 kB
  • sloc: python: 56,498; cpp: 2,310; makefile: 265; sh: 19
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