mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00: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:
@ -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",
|
||||
},
|
||||
|
@ -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",
|
||||
},
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -255,7 +255,7 @@ resource "coder_app" "rstudio" {
|
||||
```
|
||||
|
||||
If you cannot enable a
|
||||
[wildcard subdomain](https://coder.com/docs/admin/configure#wildcard-access-url),
|
||||
[wildcard subdomain](https://coder.com/docs/admin/setup#wildcard-access-url),
|
||||
you can configure the template to run RStudio on a path using an NGINX reverse
|
||||
proxy in the template. There is however
|
||||
[security risk](https://coder.com/docs/reference/cli/server#--dangerous-allow-path-app-sharing)
|
||||
|
2
docs/reference/cli/templates_create.md
generated
2
docs/reference/cli/templates_create.md
generated
@ -95,7 +95,7 @@ Specify a duration workspaces may be in the dormant state prior to being deleted
|
||||
| Type | <code>bool</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
### -y, --yes
|
||||
|
||||
|
2
docs/reference/cli/templates_edit.md
generated
2
docs/reference/cli/templates_edit.md
generated
@ -153,7 +153,7 @@ Allow users to customize the autostop TTL for workspaces on this template. This
|
||||
| Type | <code>bool</code> |
|
||||
| Default | <code>false</code> |
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
### --private
|
||||
|
||||
|
@ -216,7 +216,7 @@ To run a Coder server:
|
||||
# Or just run the server directly
|
||||
$ coder server
|
||||
|
||||
Configuring Coder: https://coder.com/docs/admin/configure
|
||||
Configuring Coder: https://coder.com/docs/admin/setup
|
||||
|
||||
To connect to a Coder deployment:
|
||||
|
||||
|
@ -61,7 +61,7 @@ type AutoCreateWorkspaceOptions = {
|
||||
* If provided, the auto-create workspace feature will attempt to find a
|
||||
* matching workspace. If found, it will return the existing workspace instead
|
||||
* of creating a new one. Its value supports [advanced filtering queries for
|
||||
* workspaces](https://coder.com/docs/workspaces#workspace-filtering). If
|
||||
* workspaces](https://coder.com/docs/user-guides/workspace-management#workspace-filtering). If
|
||||
* multiple values are returned, the first one will be returned.
|
||||
*/
|
||||
match: string | null;
|
||||
|
Reference in New Issue
Block a user