MCPcopy Create free account
hub / github.com/aws/aws-cli / title

Method title

awscli/botocore/docs/service.py:69–74  ·  view source on GitHub ↗
(self, section)

Source from the content-addressed store, hash-verified

67 return doc_structure.flush_structure()
68
69 def title(self, section):
70 section.style.h1(self._client.__class__.__name__)
71 service_id = self._client.meta.service_model.service_id.hyphenize()
72 self._event_emitter.emit(
73 'docs.{}.{}'.format('title', service_id), section=section
74 )
75
76 def table_of_contents(self, section):
77 section.style.table_of_contents(title='Table of Contents', depth=2)

Calls 4

hyphenizeMethod · 0.80
formatMethod · 0.80
h1Method · 0.45
emitMethod · 0.45

Tested by

no test coverage detected