MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / step_emit

Function step_emit

Scripts/generate_docs.py:147–157  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

145
146
147def step_emit(data):
148 print("\n─── Step 2: Emitting Markdown pages ───")
149 sys.path.insert(0, SCRIPT_DIR)
150 from emit_docs import emit_docs, build_nav_yaml # type: ignore
151
152 nav, class_parent_map = emit_docs(data, DOCS_ROOT)
153 total_pages = sum(len(v) for v in nav.values())
154 print(f" ✓ Emitted {total_pages} API pages into docs/api/")
155
156 nav_yaml = build_nav_yaml(nav, class_parent_map)
157 return nav_yaml
158
159# ──────────────────────────────────────────────────────────────────────────────
160# Step 3 — Update mkdocs.yml nav

Callers 1

mainFunction · 0.85

Calls 2

emit_docsFunction · 0.90
build_nav_yamlFunction · 0.90

Tested by

no test coverage detected