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

Method toctree

awscli/bcdoc/style.py:334–340  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

332 self.end_codeblock()
333
334 def toctree(self):
335 if self.doc.target == 'html':
336 self.doc.write('\n.. toctree::\n')
337 self.doc.write(' :maxdepth: 1\n')
338 self.doc.write(' :titlesonly:\n\n')
339 else:
340 self.start_ul()
341
342 def tocitem(self, item, file_name=None):
343 if self.doc.target == 'man':

Callers 7

test_toctree_htmlMethod · 0.95
test_toctree_manMethod · 0.95
test_toctree_htmlMethod · 0.95
test_toctree_manMethod · 0.95
doc_subitems_startMethod · 0.45
doc_subitems_startMethod · 0.45
doc_subitems_startMethod · 0.45

Calls 2

start_ulMethod · 0.95
writeMethod · 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