MCPcopy Create free account
hub / github.com/fontsource/fontsource / getAllDocsMarkdown

Function getAllDocsMarkdown

website/app/utils/docs/markdown.server.ts:79–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77};
78
79export const getAllDocsMarkdown = () => {
80 if (!cacheDocsMarkdown) return renderAllDocsMarkdown();
81
82 allDocsMarkdown ??= renderAllDocsMarkdown();
83 return allDocsMarkdown;
84};
85
86export const getDocsMarkdownResponse = async (pathname: string) => {
87 const route = getMarkdownRoute(pathname);

Callers 1

loaderFunction · 0.90

Calls 1

renderAllDocsMarkdownFunction · 0.85

Tested by

no test coverage detected