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

Function _rustdoc_path_part

scripts/docs/generate_rust_library_reference.py:135–138  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

133
134
135def _rustdoc_path_part(value: str) -> str:
136 value = value.replace("!", "-bang")
137 value = re.sub(r"[^A-Za-z0-9_-]+", "-", value)
138 return value.strip("-").lower() or "item"
139
140
141def _crate_slug(crate_name: str) -> str:

Callers 1

_url_relativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected