From dc67a83c3de6cfd37eef80f80e342fec8f2750b9 Mon Sep 17 00:00:00 2001 From: James Hetherington Date: Fri, 4 Sep 2015 14:19:55 +0100 Subject: [PATCH] Tweaks --- Makefile | 6 +++--- _config.yml | 5 +++++ ch00python/index.md | 8 +------- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 8d6adcda..97b80044 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ default: _site ipython nbconvert --to notebook --nbformat 2 --stdout $< > $@ %.nbconvert.ipynb: %.ipynb - ipython nbconvert --to notebook --ExecutePreprocessor.timeout=120 --execute --stdout $< > $@ + ipython nbconvert --to notebook --allow-errors --ExecutePreprocessor.timeout=120 --execute --stdout $< > $@ notes.pdf: combined.ipynb Makefile ipython nbconvert --to pdf --template latex.tplx $< @@ -80,10 +80,10 @@ plantuml.jar: .PHONY: ready _site: ready - jekyll build + jekyll build --verbose preview: ready - jekyll serve + jekyll serve --verbose clean: rm -f ch*/generated/*.png diff --git a/_config.yml b/_config.yml index bc6ba89f..566df60f 100644 --- a/_config.yml +++ b/_config.yml @@ -26,3 +26,8 @@ redcarpet: include: [ _static, _sources] +exclude: + - "*/*.nbconvert.ipynb" + - "*/*.v2.ipynb" + - "combined_files" + - "combined.ipynb" \ No newline at end of file diff --git a/ch00python/index.md b/ch00python/index.md index 73c3b6fd..51890992 100644 --- a/ch00python/index.md +++ b/ch00python/index.md @@ -2,16 +2,10 @@ title: Introduction to Python --- -The first session covers an introduction to the Python: - -### Lesson 1 - * Why use scripting languages? * Python. IPython and the IPython notebook. * Data structures: list, dictionaries, and sets. * List comprehensions * Functions in Python * Modules in Python -* An introduciton to classes - - +* An introduciton to classes \ No newline at end of file