()
| 1399 | } |
| 1400 | |
| 1401 | func 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. |
| 1410 | type DeploymentConfig struct { |