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


![2024-10-11_11-35-40](https://github.com/user-attachments/assets/fd95e821-d5ad-4c91-a38a-066046c7072c)

---------

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
Edward Angert
2024-11-01 15:43:51 -04:00
committed by GitHub
parent 399c830b51
commit 1f93b80e09
10 changed files with 10 additions and 10 deletions

View File

@ -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.

View File

@ -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",
},

View File

@ -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",
},

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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;