MCPcopy Index your code
hub / github.com/coder/coder / getDocsUrl

Function getDocsUrl

site/src/utils/docs.test.ts:20–24  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

18 }
19
20 async function getDocsUrl(path: string): Promise<string> {
21 // Dynamic import so we get a fresh module with cleared caches.
22 const { docs } = await import("./docs");
23 return docs(path);
24 }
25
26 it("should preserve RC prerelease and strip build metadata", async () => {
27 setBuildInfoVersion("v2.32.0-rc.1+abc123");

Callers 1

docs.test.tsFile · 0.85

Calls 1

docsFunction · 0.85

Tested by

no test coverage detected