MCPcopy Create free account
hub / github.com/PageBot/PageBot / write_html

Method write_html

Lib/pagebot/elements/page.py:503–510  ·  view source on GitHub ↗
(self, view, path)

Source from the content-addressed store, hash-verified

501 b.writeHtml(filePath)
502
503 def write_html(self, view, path):
504 context = view.context
505 b = context.b
506 b.docType('html')
507 b.html()#lang="%s" itemtype="http://schema.org/">\n' % self.css('language'))
508
509 self.write_head(view)
510 self.write_body(view, path)
511
512 def write_head(self, view):
513 """Builds the page head. There are 3 option (all including the

Callers 1

build_htmlMethod · 0.95

Calls 4

write_headMethod · 0.95
write_bodyMethod · 0.95
docTypeMethod · 0.80
htmlMethod · 0.80

Tested by

no test coverage detected