ipypublish.html.create_tpl module

create template

philosophy is only turn stuff on when we want

http://nbconvert.readthedocs.io/en/latest/customizing.html#Template-structure http://nbconvert.readthedocs.io/en/latest/api/exporters.html#nbconvert.exporters.TemplateExporter

ipypublish.html.create_tpl.create_tpl(tpl_dicts=(), outpath=None)[source]

build an html jinja template from multiple dictionaries, specifying fragments of the template to insert a specific points

if a tpl_dict contains the key “overwrite”, then its value should be a list of keys, such that these key values overwrite any entries before

Parameters:
  • tpl_dicts (list of dicts) –
  • outpath (str) – if not None, output template to file