Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ docs
Function
docs
site/src/utils/docs.ts:24–26 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
22
let
CACHED_DOCS_URL: string | undefined;
23
24
export
const
docs = (path: string) => {
25
return
`${getBaseDocsURL()}${path}`;
26
};
27
28
const
getBaseDocsURL = () => {
29
if
(!CACHED_DOCS_URL) {
Callers
15
RolesHelpPopover
Function · 0.90
GroupsHelpPopover
Function · 0.90
WildcardHostnameWarning
Function · 0.90
PortForwardPopoverView
Function · 0.90
AgentSSHButton
Function · 0.90
AppLink
Function · 0.90
ErrorScriptAlert
Function · 0.90
LoadingScriptsAlert
Function · 0.90
LoadedScriptsAlert
Function · 0.90
WorkspaceDeleteDialog
Function · 0.90
ClassicParameterFlowDeprecationWarning
Function · 0.90
TaskPromptEmpty
Function · 0.90
Calls
1
getBaseDocsURL
Function · 0.85
Tested by
1
getDocsUrl
Function · 0.68