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

Function DefaultDocsURL

codersdk/deployment.go:1401–1407  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1399}
1400
1401func DefaultDocsURL() string {
1402 version := removeTrailingVersionInfo(buildinfo.Version())
1403 if version == "v0.0.0" {
1404 return "https://coder.com/docs"
1405 }
1406 return "https://coder.com/docs/@" + version
1407}
1408
1409// DeploymentConfig contains both the deployment values and how they're set.
1410type DeploymentConfig struct {

Callers 6

NewDefaultFetcherFunction · 0.92
initAppearanceFunction · 0.92
vscodeSSHMethod · 0.92
TestDefaultSupportLinksFunction · 0.92
newAppearanceFetcherFunction · 0.92
OptionsMethod · 0.85

Calls 2

VersionFunction · 0.92

Tested by 1

TestDefaultSupportLinksFunction · 0.74