MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / render_versions

Function render_versions

tasks/scripts/sync_docs_website.py:212–220  ·  view source on GitHub ↗
(entries: list[VersionEntry])

Source from the content-addressed store, hash-verified

210
211
212def render_versions(entries: list[VersionEntry]) -> list[dict[str, str]]:
213 return [
214 {
215 "display-name": entry.display_name,
216 "path": entry.path,
217 "slug": entry.slug,
218 }
219 for entry in entries
220 ]
221
222
223def component_dirs(fern_dir: Path) -> list[str]:

Callers 2

update_docs_ymlFunction · 0.85
remove_docs_yml_entryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected