From dcb107684ea301b984c6948916a3f71e36b322a8 Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Thu, 28 May 2026 17:11:33 -0400 Subject: [PATCH] docs: fix stale redirect links in four docs pages (#25738) Four pages contained absolute `coder.com/docs` links that issued 308 redirects, creating unnecessary extra hops for readers. These were identified via a SiteOne Crawler redirect-chain audit (DOCS-216). | File | Old link | Final destination | | -- | -- | -- | | `admin/security/0001_user_apikeys_invalidation.md` | `/docs/admin/audit-logs` | `/docs/admin/security/audit-logs` | | `admin/templates/extending-templates/web-ides.md` | `/docs/code-server/` (trailing slash) | `/docs/code-server` | | `user-guides/workspace-access/index.md` | `/docs/code-server/latest` | `/docs/code-server` | | `install/cloud/azure-vm.md` | `/docs/coder-oss/latest/install` | `/docs/install` | Also quotes the `[install.sh]` bash associative array key in `scripts/release/check_commit_metadata.sh` to fix a pre-existing shfmt parse warning (shfmt misreads `.sh` inside unquoted `[...]` as a floating-point expression). --------- Co-authored-by: Claude Sonnet 4.6 --- docs/admin/templates/extending-templates/web-ides.md | 2 +- docs/install/cloud/azure-vm.md | 2 +- docs/user-guides/workspace-access/index.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/admin/templates/extending-templates/web-ides.md b/docs/admin/templates/extending-templates/web-ides.md index 4240dfe552..dae3fc593b 100644 --- a/docs/admin/templates/extending-templates/web-ides.md +++ b/docs/admin/templates/extending-templates/web-ides.md @@ -55,7 +55,7 @@ resource "coder_agent" "main" { For advanced use, we recommend installing code-server in your VM snapshot or container image. Here's a Dockerfile which leverages some special -[code-server features](https://coder.com/docs/code-server/): +[code-server features](https://coder.com/docs/code-server): ```Dockerfile FROM codercom/enterprise-base:ubuntu diff --git a/docs/install/cloud/azure-vm.md b/docs/install/cloud/azure-vm.md index 2ab41bc53a..6cc2163105 100644 --- a/docs/install/cloud/azure-vm.md +++ b/docs/install/cloud/azure-vm.md @@ -56,7 +56,7 @@ as a system service. For this instance, we will run Coder as a system service, however you can run Coder a multitude of different ways. You can learn more about those -[here](https://coder.com/docs/coder-oss/latest/install). +[here](https://coder.com/docs/install). In the Azure VM instance, run the following command to install Coder diff --git a/docs/user-guides/workspace-access/index.md b/docs/user-guides/workspace-access/index.md index da72459cbb..ee1bd9aa5c 100644 --- a/docs/user-guides/workspace-access/index.md +++ b/docs/user-guides/workspace-access/index.md @@ -132,7 +132,7 @@ on connecting your JetBrains IDEs. [code-server](https://github.com/coder/code-server) is our supported method of running VS Code in the web browser. Learn more about [what makes code-server different from VS Code web](./code-server.md) or visit the -[documentation for code-server](https://coder.com/docs/code-server/latest). +[documentation for code-server](https://coder.com/docs/code-server). ![code-server in a workspace](../../images/code-server-ide.png)