Skip to content

Commit

Permalink
FIXUP: add more things to the notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
tbekolay committed Apr 9, 2016
1 parent 422f65d commit 6318526
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion doc/subdir2/included.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
"\n",
"This notebook is included with the `nbinclude` directive.\n",
"\n",
"The cell below is stored unexecuted, but will be executed when included, just like notebooks included in a `:toctree:`. Notebooks with at least one executed cell will not be executed when included."
"The cell below is stored unexecuted,\n",
"but will be executed when included,\n",
"just like notebooks included in a ``toctree``.\n",
"Notebooks with at least one executed cell will not be executed when included\n",
"(see [A Pre-Executed Notebook](../pre-executed.ipynb) for more details)."
]
},
{
Expand All @@ -30,6 +34,37 @@
"source": [
"6 * 7"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Local images work like notebooks in `toctree`s:\n",
"![Jupyter notebook icon](../images/notebook_icon.png)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": false
},
"outputs": [],
"source": [
"from IPython.display import Image\n",
"Image(filename='../images/notebook_icon.png')"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"A link to a notebook in the parent directory: [link](../markdown-cells.ipynb).\n",
"\n",
"A link to a specific section in that notebook: [link](../markdown-cells.ipynb#Links-to-Other-Notebooks).\n",
"\n",
"A link to a local file: [link](../images/notebook_icon.png)."
]
}
],
"metadata": {
Expand Down

0 comments on commit 6318526

Please sign in to comment.