def getHTMLOf(ob): wr = templatewriter.TemplateWriter('') wr.system = ob.system f = BytesIO() wr.writeDocsForOne(ob, f) return f.getvalue().decode()
def getHTMLOf(ob: model.Documentable) -> str: wr = templatewriter.TemplateWriter('') f = BytesIO() wr._writeDocsForOne(ob, f) return f.getvalue().decode()
def getHTMLOf(ob): wr = templatewriter.TemplateWriter('') wr.system = ob.system f = NativeStringIO() wr.writeDocsForOne(ob, f) return f.getvalue()