MCPcopy Index your code
hub / github.com/aws/aws-cli / tocitem

Method tocitem

awscli/bcdoc/style.py:342–349  ·  view source on GitHub ↗
(self, item, file_name=None)

Source from the content-addressed store, hash-verified

340 self.start_ul()
341
342 def tocitem(self, item, file_name=None):
343 if self.doc.target == 'man':
344 self.li(item)
345 else:
346 if file_name:
347 self.doc.writeln(' %s' % file_name)
348 else:
349 self.doc.writeln(' %s' % item)
350
351 def hidden_toctree(self):
352 if self.doc.target == 'html':

Callers 8

test_toctree_htmlMethod · 0.95
test_toctree_manMethod · 0.95
test_toctree_htmlMethod · 0.95
test_toctree_manMethod · 0.95
hidden_tocitemMethod · 0.95
doc_subitemMethod · 0.45
doc_subitemMethod · 0.45
doc_subitemMethod · 0.45

Calls 2

liMethod · 0.95
writelnMethod · 0.45

Tested by 4

test_toctree_htmlMethod · 0.76
test_toctree_manMethod · 0.76
test_toctree_htmlMethod · 0.76
test_toctree_manMethod · 0.76