mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: fix docs/admin links and upgrade notice (#15043)
- Update links to /docs/admin to match the new structure - TODO: remove the release string from the "upgrade available" instructions link - [x] https://github.com/coder/coder/blob/update-upgrade-config-links/cli/server.go#L646  --------- Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
co-authored by
EdwardAngert
parent
399c830b51
commit
1f93b80e09
+1
-1
@@ -813,7 +813,7 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
|
||||
}
|
||||
defer options.Telemetry.Close()
|
||||
} else {
|
||||
logger.Warn(ctx, fmt.Sprintf(`telemetry disabled, unable to notify of security issues. Read more: %s/admin/telemetry`, vals.DocsURL.String()))
|
||||
logger.Warn(ctx, fmt.Sprintf(`telemetry disabled, unable to notify of security issues. Read more: %s/admin/setup/telemetry`, vals.DocsURL.String()))
|
||||
}
|
||||
|
||||
// This prevents the pprof import from being accidentally deleted.
|
||||
|
||||
@@ -237,7 +237,7 @@ func (r *RootCmd) templateCreate() *serpent.Command {
|
||||
},
|
||||
{
|
||||
Flag: "require-active-version",
|
||||
Description: "Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature. See https://coder.com/docs/templates/general-settings#require-automatic-updates-enterprise for more details.",
|
||||
Description: "Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature. See https://coder.com/docs/admin/templates/managing-templates#require-automatic-updates-enterprise for more details.",
|
||||
Value: serpent.BoolOf(&requireActiveVersion),
|
||||
Default: "false",
|
||||
},
|
||||
|
||||
+1
-1
@@ -290,7 +290,7 @@ func (r *RootCmd) templateEdit() *serpent.Command {
|
||||
},
|
||||
{
|
||||
Flag: "require-active-version",
|
||||
Description: "Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature. See https://coder.com/docs/templates/general-settings#require-automatic-updates-enterprise for more details.",
|
||||
Description: "Requires workspace builds to use the active template version. This setting does not apply to template admins. This is an enterprise-only feature. See https://coder.com/docs/admin/templates/managing-templates#require-automatic-updates-enterprise for more details.",
|
||||
Value: serpent.BoolOf(&requireActiveVersion),
|
||||
Default: "false",
|
||||
},
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ OPTIONS:
|
||||
Requires workspace builds to use the active template version. This
|
||||
setting does not apply to template admins. This is an enterprise-only
|
||||
feature. See
|
||||
https://coder.com/docs/templates/general-settings#require-automatic-updates-enterprise
|
||||
https://coder.com/docs/admin/templates/managing-templates#require-automatic-updates-enterprise
|
||||
for more details.
|
||||
|
||||
--var string-array
|
||||
|
||||
+1
-1
@@ -87,7 +87,7 @@ OPTIONS:
|
||||
Requires workspace builds to use the active template version. This
|
||||
setting does not apply to template admins. This is an enterprise-only
|
||||
feature. See
|
||||
https://coder.com/docs/templates/general-settings#require-automatic-updates-enterprise
|
||||
https://coder.com/docs/admin/templates/managing-templates#require-automatic-updates-enterprise
|
||||
for more details.
|
||||
|
||||
-y, --yes bool
|
||||
|
||||
Reference in New Issue
Block a user