MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / _nav_parts

Function _nav_parts

scripts/docs/generate_python_library_reference.py:273–277  ·  view source on GitHub ↗
(module: ModuleDoc)

Source from the content-addressed store, hash-verified

271
272
273def _nav_parts(module: ModuleDoc) -> list[str]:
274 parts = _module_parts(module)
275 if len(parts) == 1:
276 return [_slug_part(parts[0])]
277 return [_slug_part(part) for part in parts[1:]]
278
279
280def _leaf_title(module: ModuleDoc) -> str:

Callers 5

_module_urlFunction · 0.85
_module_output_pathFunction · 0.85
_sibling_positionsFunction · 0.85
_write_indexFunction · 0.85
write_groupFunction · 0.85

Calls 2

_module_partsFunction · 0.85
_slug_partFunction · 0.70

Tested by

no test coverage detected