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

Method addCodeLink

caffe2/python/docs/formatter.py:83–84  ·  view source on GitHub ↗
(self, path, options=None)

Source from the content-addressed store, hash-verified

81 self.addRaw("[{text}]({url})".format(text=text, url=url))
82
83 def addCodeLink(self, path, options=None):
84 self.addRaw("({path})".format(path=path))
85
86 def addCode(self, text, inline=False):
87 if (inline):

Callers 1

generateCodeLinkMethod · 0.45

Calls 2

addRawMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected