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

Method addDocHeader

caffe2/python/docs/github.py:26–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 self.addLine("\n{header} {text}\n".format(header=h * '#', text=text), True)
25
26 def addDocHeader(self):
27 self.addLine("---")
28 self.addLine("docid: operators-catalog")
29 self.addLine("title: Operators Catalog")
30 self.addLine("layout: operators")
31 self.addLine("permalink: /docs/operators-catalogue.html")
32 self.addLine("---")
33 self.addLine("* TOC")
34 self.addLine("{:toc}")
35
36 def addTable(self, table, noTitle=False):
37 self.addLinebreak()

Callers 1

createBodyMethod · 0.80

Calls 1

addLineMethod · 0.45

Tested by

no test coverage detected