Skip to content

Commit ee705bc

Browse files
authored
Merge pull request #214 from UCL/new-template-style
2 parents 0a2add1 + 162d6ff commit ee705bc

21 files changed

+21
-65
lines changed

.github/python/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
-r ../../requirements.txt
22
git+https://github.com/jakevdp/JSAnimation.git
3-
nbconvert==5.6.1
43
# https://github.com/jupyter/nbgrader/issues/1373#issuecomment-702798246
54
jupyter-client==6.1.12
65
# https://github.com/jupyter/jupyter_client/issues/637

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ default: _site
3535
%.png: %.uml plantuml.jar Makefile
3636
java -Djava.awt.headless=true -jar plantuml.jar -p < $< > $@
3737

38-
%.html: %.nbconvert.ipynb Makefile jekyll.tpl
39-
jupyter nbconvert --to html --template jekyll.tpl --stdout $< > $@
38+
%.html: %.nbconvert.ipynb Makefile jekyll_template
39+
jupyter nbconvert --to html --template jekyll_template --stdout $< > $@
4040

4141
%.v2.ipynb: %.nbconvert.ipynb
4242
jupyter nbconvert --to notebook --nbformat 2 --stdout $< > $@
@@ -45,15 +45,15 @@ default: _site
4545
jupyter nbconvert --to notebook --allow-errors --ExecutePreprocessor.timeout=120 --execute --stdout $< > $@
4646

4747
notes.pdf: combined.ipynb $(PNGS) Makefile
48-
jupyter nbconvert --to pdf --template latex.tplx $<
48+
jupyter nbconvert --to pdf --template latex_template $<
4949
mv combined.pdf notes.pdf
5050

5151
combined.ipynb: $(EXECUTED)
5252
python nbmerge.py $^ $@
5353
sed -i -e 's/\.svg/\.png/g' $@
5454

5555
notes.tex: combined.ipynb $(PNGS) Makefile
56-
jupyter nbconvert --to latex --template latex.tplx $<
56+
jupyter nbconvert --to latex --template latex_template $<
5757
mv combined.tex notes.tex
5858

5959
notebooks.zip: ${NBV2}

ch03tests/01testingbasics.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,6 @@
199199
"nbconvert_exporter": "python",
200200
"pygments_lexer": "ipython3",
201201
"version": "3.7.4"
202-
},
203-
"widgets": {
204-
"state": {},
205-
"version": "1.1.2"
206202
}
207203
},
208204
"nbformat": 4,

ch03tests/02SaskatchewanFields.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -843,10 +843,6 @@
843843
"nbconvert_exporter": "python",
844844
"pygments_lexer": "ipython3",
845845
"version": "3.5.3"
846-
},
847-
"widgets": {
848-
"state": {},
849-
"version": "1.1.2"
850846
}
851847
},
852848
"nbformat": 4,

ch03tests/03pytest.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,6 @@
530530
"nbconvert_exporter": "python",
531531
"pygments_lexer": "ipython3",
532532
"version": "3.6.1"
533-
},
534-
"widgets": {
535-
"state": {},
536-
"version": "1.1.2"
537533
}
538534
},
539535
"nbformat": 4,

ch03tests/04EnergyExample.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,6 @@
481481
"nbconvert_exporter": "python",
482482
"pygments_lexer": "ipython3",
483483
"version": "3.5.3"
484-
},
485-
"widgets": {
486-
"state": {},
487-
"version": "1.1.2"
488484
}
489485
},
490486
"nbformat": 4,

ch03tests/05Mocks.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -566,10 +566,6 @@
566566
"nbconvert_exporter": "python",
567567
"pygments_lexer": "ipython3",
568568
"version": "3.7.3"
569-
},
570-
"widgets": {
571-
"state": {},
572-
"version": "1.1.2"
573569
}
574570
},
575571
"nbformat": 4,

ch03tests/06Debugger.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,6 @@
216216
"nbconvert_exporter": "python",
217217
"pygments_lexer": "ipython3",
218218
"version": "3.7.3"
219-
},
220-
"widgets": {
221-
"state": {},
222-
"version": "1.1.2"
223219
}
224220
},
225221
"nbformat": 4,

ch03tests/07CI.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@
6666
"nbconvert_exporter": "python",
6767
"pygments_lexer": "ipython3",
6868
"version": "3.6.1"
69-
},
70-
"widgets": {
71-
"state": {},
72-
"version": "1.1.2"
7369
}
7470
},
7571
"nbformat": 4,

ch03tests/08DiffusionExample.ipynb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70541,10 +70541,6 @@
7054170541
"nbconvert_exporter": "python",
7054270542
"pygments_lexer": "ipython3",
7054370543
"version": "3.6.6"
70544-
},
70545-
"widgets": {
70546-
"state": {},
70547-
"version": "1.1.2"
7054870544
}
7054970545
},
7055070546
"nbformat": 4,

0 commit comments

Comments
 (0)