MCPcopy Create free account
hub / github.com/pytorch/pytorch / addHeader

Method addHeader

caffe2/python/docs/github.py:23–24  ·  view source on GitHub ↗
(self, text, h=1)

Source from the content-addressed store, hash-verified

21
22class GHMarkdown(Markdown):
23 def addHeader(self, text, h=1):
24 self.addLine("\n{header} {text}\n".format(header=h * '#', text=text), True)
25
26 def addDocHeader(self):
27 self.addLine("---")

Callers 7

generateCodeLinkMethod · 0.45
generateSchemaMethod · 0.45
generateTableMethod · 0.45
generateCodeLinkMethod · 0.45
generateDevicesMethod · 0.45
generateEnginesMethod · 0.45
generateSchemaMethod · 0.45

Calls 2

addLineMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected