MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / html_topics

Function html_topics

tools/python-3.11.9-amd64/Lib/pydoc.py:2644–2658  ·  view source on GitHub ↗

Index of topic texts available.

()

Source from the content-addressed store, hash-verified

2642 return 'Search Results', contents
2643
2644 def html_topics():
2645 """Index of topic texts available."""
2646
2647 def bltinlink(name):
2648 return '<a href="topic?key=%s">%s</a>' % (name, name)
2649
2650 heading = html.heading(
2651 '<strong class="title">INDEX</strong>',
2652 )
2653 names = sorted(Helper.topics.keys())
2654
2655 contents = html.multicolumn(names, bltinlink)
2656 contents = heading + html.bigsection(
2657 'Topics', 'index', contents)
2658 return 'Topics', contents
2659
2660 def html_keywords():
2661 """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