MCPcopy Index your code
hub / github.com/RustPython/RustPython / html_topics

Function html_topics

Lib/pydoc.py:2596–2610  ·  view source on GitHub ↗

Index of topic texts available.

()

Source from the content-addressed store, hash-verified

2594 return 'Search Results', contents
2595
2596 def html_topics():
2597 """Index of topic texts available."""
2598
2599 def bltinlink(name):
2600 return '<a href="topic?key=%s">%s</a>' % (name, name)
2601
2602 heading = html.heading(
2603 '<strong class="title">INDEX</strong>',
2604 )
2605 names = sorted(Helper.topics.keys())
2606
2607 contents = html.multicolumn(names, bltinlink)
2608 contents = heading + html.bigsection(
2609 'Topics', 'index', contents)
2610 return 'Topics', contents
2611
2612 def html_keywords():
2613 """Index of keywords."""

Callers 1

get_html_pageFunction · 0.85

Calls 5

sortedFunction · 0.85
multicolumnMethod · 0.80
bigsectionMethod · 0.80
headingMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected