From 19afb800ecdd796e3c3bfe71cc081ba4d25596e7 Mon Sep 17 00:00:00 2001 From: Cyrille Rossant Date: Sun, 1 Nov 2015 15:23:52 +0100 Subject: [PATCH] Fix order --- README.md | 30 +++++++++++++++--------------- utils/gentoc.py | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index e5ed2c6..e4d23b0 100644 --- a/README.md +++ b/README.md @@ -6,49 +6,49 @@ This repository contains all the code examples as IPython notebooks. ### 1. Getting started with IPython -* [1.5. Ten Jupyter/IPython essentials](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter1/15-ten.ipynb) * 1.1. What are Python, IPython, and Jupyter? +* 1.2. Installing Python with Anaconda * 1.3. Introducing the Notebook -* 1.6. Summary * [1.4. A crash course on Python](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter1/14-python.ipynb) -* 1.2. Installing Python with Anaconda +* [1.5. Ten Jupyter/IPython essentials](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter1/15-ten.ipynb) +* 1.6. Summary ### 2. Interactive data analysis with pandas -* [2.2. Manipulating data](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter2/22-manipulating.ipynb) * [2.1. Exploring a dataset in the Notebook](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter2/21-exploring.ipynb) -* 2.4. Summary +* [2.2. Manipulating data](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter2/22-manipulating.ipynb) * [2.3. Complex operations](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter2/23-groupby.ipynb) +* 2.4. Summary ### 3. Numerical computing with NumPy -* [3.4. Computing with NumPy arrays](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/34-computing.ipynb) -* 3.5. Summary * [3.1. A primer to vector computing](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/31-primer.ipynb) -* [3.3. Basic array manipulations](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/33-basic.ipynb) * [3.2. Creating and loading arrays](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/32-creating.ipynb) +* [3.3. Basic array manipulations](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/33-basic.ipynb) +* [3.4. Computing with NumPy arrays](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter3/34-computing.ipynb) +* 3.5. Summary ### 4. Interactive plotting and Graphical Interfaces -* 4.4. Further plotting and visualization libraries * [4.1. Choosing a plotting backend](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter4/41-notebook.ipynb) * [4.2. matplotlib and seaborn essentials](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter4/42-mpl.ipynb) -* 4.5. Summary * [4.3. Image processing](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter4/43-image.ipynb) +* 4.4. Further plotting and visualization libraries +* 4.5. Summary ### 5. High-performance and parallel computing -* [5.3. Distributing tasks on several cores with IPython.parallel](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter5/53-parallel.ipynb) +* [5.1. Accelerating Python code with Numba](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter5/51-numba.ipynb) * [5.2. Writing C in Python with Cython](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter5/52-cython.ipynb) +* [5.3. Distributing tasks on several cores with IPython.parallel](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter5/53-parallel.ipynb) * 5.4. Further high-performance computing techniques -* [5.1. Accelerating Python code with Numba](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter5/51-numba.ipynb) * 5.5. Summary ### 6. Customizing IPython -* [6.3. Displaying rich HTML elements in the Notebook](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/63-rich.ipynb) -* 6.5. Summary +* [6.1. Creating a custom magic command in an IPython extension](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/61-magic.ipynb) * [6.2. Writing a new Jupyter kernel](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/62-kernel.ipynb) +* [6.3. Displaying rich HTML elements in the Notebook](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/63-rich.ipynb) * [6.4. Customizing the Notebook interface with JavaScript](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/64-nbapp.ipynb) -* [6.1. Creating a custom magic command in an IPython extension](http://nbviewer.ipython.org/github/ipython-books/minibook-2nd-code/blob/master/chapter6/61-magic.ipynb) +* 6.5. Summary diff --git a/utils/gentoc.py b/utils/gentoc.py index 00a636c..f5d4f38 100644 --- a/utils/gentoc.py +++ b/utils/gentoc.py @@ -30,7 +30,7 @@ def _iter_chapters(root): def _iter_notebooks(chapter_path): - for file in os.listdir(chapter_path): + for file in sorted(os.listdir(chapter_path)): if file.endswith('.ipynb'): with open(op.join(chapter_path, file), 'r') as f: text = f.read()