gen_doc.convert2html
Converting the documentation notebooks to HTML pages
Conversion notebook to HTML
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.
Functions
convert_nb
[source][test]
convert_nb
(fname
,dest_path
='.'
) No tests found forconvert_nb
. To contribute a test please refer to this guide and this discussion.
Convert a notebook fname
to html file in dest_path
.
convert_all
[source][test]
convert_all
(folder
,dest_path
='.'
,force_all
=False
) No tests found forconvert_all
. To contribute a test please refer to this guide and this discussion.
Convert modified notebooks in folder
to html pages in dest_path
.
Here’s an example to convert all the docs in this folder:
convert_all('.', '../docs')
©2021 fast.ai. All rights reserved.
Site last generated: Jan 5, 2021