package b0

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module B0_web_pageSource

Sourceval write : ?lang:string -> ?generator:string -> ?styles:string list -> ?scripts:string list -> ?more_head:B0_html.El.html -> ?title:string -> B0_memo.t -> frag:B0_std.Fpath.t -> o:B0_std.Fpath.t -> unit

write_page m ~frag ~o reads frag and inserts it in an B0_html.El.body using B0_html.El.raw and writes a full HTML document to o using B0_html.El.basic_page (see doc of the corresponding arguments). If title is "" or unspecified B0_html.El.title_of_filepath o is used.