浏览代码

Added instruction to covert notebooks in HTML slides

Valerio Maggio 10 年之前
父节点
当前提交
79b4a735f6
共有 1 个文件被更改,包括 63 次插入0 次删除
  1. 63 0
      01 - Preliminaries.ipynb

+ 63 - 0
01 - Preliminaries.ipynb

@@ -337,6 +337,69 @@
     "<hr>\n",
     "<h1 style=\"text-align: center;\">If everything worked down here, you're ready to start!</h1>"
    ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "<br>\n",
+    "<hr>"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "# Consulting Material"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "You have two options to go through the material presented in this tutorial:\n",
+    "\n",
+    "* Read (and execute) the material as **iPython/Jupyter** notebooks\n",
+    "* (just) read the material as (HTML) slides"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "In the first case, all you need to do is just execute `ipython notebook` (or `jupyter notebook`) depending on the version of `iPython` you have installed on your machine\n",
+    "\n",
+    "(`jupyter` command works in case you have `iPython 4.0.x` installed)"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "In the second case, you may simply convert the provided notebooks in `HTML` slides and see them into your browser\n",
+    "thanks to `nbconvert`.\n",
+    "\n",
+    "Thus, move to the folder where notebooks are stored and execute the following command:\n",
+    "\n",
+    "    ipython nbconvert --to slides ./*.ipynb --post serve\n",
+    "    \n",
+    "   \n",
+    "(Please substitute `ipython` with `jupyter` in the previous command if you have `iPython 4.x` installed on your machine)"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "## In case..."
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "..you wanna do **both** (interactive and executable slides), I highly suggest to install the terrific `RISE` ipython notebook extension: [https://github.com/damianavila/RISE]()"
+   ]
   }
  ],
  "metadata": {