{ "cells": [ { "cell_type": "markdown", "metadata": { "hide_input": true }, "source": [ "# Conversion notebook to HTML" ] }, { "cell_type": "markdown", "metadata": { "hide_input": true }, "source": [ "This is the module to convert a jupyter notebook to an html page. It will normally render everything the way it was in the notebooks, including suppressing the input of the code cells with input cells masked, and converting the links between notebooks in links between the html pages." ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [], "source": [ "from fastai.gen_doc.nbdoc import * \n", "from fastai.gen_doc.convert2html import * " ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Functions" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "hide_input": true }, "outputs": [ { "data": { "text/markdown": [ "
convert_nb[source]convert_nb(`fname`, `dest_path`=`'.'`)\n",
"\n",
"Convert a notebook `fname` to html file in `dest_path`. "
],
"text/plain": [
"convert_all[source]convert_all(`folder`, `dest_path`=`'.'`, `force_all`=`False`)\n",
"\n",
"Convert modified notebooks in `folder` to html pages in `dest_path`. "
],
"text/plain": [
"read_nb[source]read_nb(`fname`)\n",
"\n",
"Read the notebook in `fname`. "
],
"text/plain": [
"