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

Function _slug

scripts/docs/generate_node_library_reference.py:351–352  ·  view source on GitHub ↗
(import_path: str)

Source from the content-addressed store, hash-verified

349
350
351def _slug(import_path: str) -> str:
352 return import_path.replace("@", "").replace("/", "-").replace("_", "-")
353
354
355def _write_index(output_dir: Path, modules: list[ModuleDoc]) -> None:

Callers 2

_write_indexFunction · 0.85
_write_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected