Function compose_html_body

Source
fn compose_html_body(f: &mut File, p: &Process, s: &Vec<Section>)
Expand description

Body portion, which is the bulk of the HTML file. The composition is broken up into other sequential functions:

  • Title page (styled with pagebreak in stanhope.css)
  • Revision and Requirements page (also has pagebreak)
  • Table of Contents, which also includes Resources (also has pagebreak)
  • TODO: add placeholder sections for other user-defined templates, like boilerplate warnings for ESD if ESD is checked
  • All Process Sections
    • For each sequential Section, write out each sequential Step
    • For each sequential Step, write out each sequential SubStep
    • Include special cases for Resource, etc.
  • Close out the sections and insert the banners at the top and bottom of the page