class documentation

HTML templates writer.

Class Method __subclasshook__ Undocumented
Method __init__ No summary
Method prepOutputDirectory Write static CSS and JS files to build directory.
Method writeIndividualFiles Iterate through obs and call _writeDocsFor method for each Documentable.
Method writeSummaryPages Called second.
Instance Variable build_directory Build directory
Instance Variable dry_run Undocumented
Instance Variable template_lookup Writer's TemplateLookup object
Instance Variable total_pages Undocumented
Instance Variable written_pages Undocumented
Method _writeDocsFor Undocumented
Method _writeDocsForOne Undocumented
@classmethod
def __subclasshook__(cls, subclass: type[object]) -> bool: (source)

Undocumented

def __init__(self, build_directory: Path, template_lookup: TemplateLookup): (source)
Parameters
build_directory:PathBuild directory.
template_lookup:TemplateLookupTemplateLookup object.
def prepOutputDirectory(self): (source)

Write static CSS and JS files to build directory.

def writeIndividualFiles(self, obs: Iterable[model.Documentable]): (source)

Iterate through obs and call _writeDocsFor method for each Documentable.

def writeSummaryPages(self, system: model.System): (source)
build_directory = (source)

Build directory

Undocumented

template_lookup: TemplateLookup = (source)

Writer's TemplateLookup object

total_pages: int = (source)

Undocumented

written_pages: int = (source)

Undocumented

def _writeDocsFor(self, ob: model.Documentable): (source)

Undocumented

def _writeDocsForOne(self, ob: model.Documentable, fobj: IO[bytes]): (source)

Undocumented