MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / format_section

Function format_section

bbot/scripts/docs.py:271–274  ·  view source on GitHub ↗
(section_title, section_path)

Source from the content-addressed store, hash-verified

269 base_url = "https://www.blacklanternsecurity.com/bbot/Stable"
270
271 def format_section(section_title, section_path):
272 path = section_path.split("index.md")[0]
273 path = path.split(".md")[0]
274 return f"- [{section_title}]({base_url}/{path})\n"
275
276 bbot_docs_toc = ""
277

Callers 1

update_tocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…