Skip to content

Commit b41645d

Browse files
committed
Update documentation links in UI components
1 parent 652fc04 commit b41645d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/main/kotlin/com/coder/gateway/help/CoderWebHelp.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const val ABOUT_HELP_TOPIC = "com.coder.gateway.about"
66

77
class CoderWebHelp : WebHelpProvider() {
88
override fun getHelpPageUrl(helpTopicId: String): String = when (helpTopicId) {
9-
ABOUT_HELP_TOPIC -> "https://coder.com/docs/coder-oss/latest"
10-
else -> "https://coder.com/docs/coder-oss/latest"
9+
ABOUT_HELP_TOPIC -> "https://coder.com/docs"
10+
else -> "https://coder.com/docs"
1111
}
1212
}

src/main/kotlin/com/coder/gateway/util/Error.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ fun humanizeConnectionError(deploymentURL: URL, requireTokenAuth: Boolean, e: Ex
2828
}
2929
is SocketTimeoutException -> "Unable to connect to $deploymentURL; is it up?"
3030
is ResponseException, is ConnectException -> "Failed to download Coder CLI: $reason"
31-
is SSLHandshakeException -> "Connection to $deploymentURL failed: $reason. See the <a href='https://coder.com/docs/v2/latest/ides/gateway#configuring-the-gateway-plugin-to-use-internal-certificates'>documentation for TLS certificates</a> for information on how to make your system trust certificates coming from your deployment."
31+
is SSLHandshakeException -> "Connection to $deploymentURL failed: $reason. See the <a href='https://coder.com/docs/user-guides/workspace-access/jetbrains#configuring-the-gateway-plugin-to-use-internal-certificates'>documentation for TLS certificates</a> for information on how to make your system trust certificates coming from your deployment."
3232
else -> reason
3333
}
3434
}

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class CoderWorkspacesStepView :
202202
row {
203203
browserLink(
204204
CoderGatewayBundle.message("gateway.connector.view.login.documentation.action"),
205-
"https://coder.com/docs/coder-oss/latest/workspaces",
205+
"https://coder.com/docs/user-guides/workspace-management",
206206
)
207207
}
208208
row(CoderGatewayBundle.message("gateway.connector.view.login.url.label")) {

src/main/resources/messages/CoderGatewayBundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ gateway.connector.view.coder.workspaces.update.description=Update workspace
2727
gateway.connector.view.coder.workspaces.create.text=Create Workspace
2828
gateway.connector.view.coder.workspaces.create.description=Create workspace
2929
gateway.connector.view.coder.workspaces.unsupported.os.info=Gateway supports only Linux machines. Support for macOS and Windows is planned.
30-
gateway.connector.view.coder.workspaces.invalid.coder.version=Could not parse Coder version {0}. Coder Gateway plugin might not be compatible with this version. <a href='https://coder.com/docs/v2/latest/ides/gateway#creating-a-new-jetbrains-gateway-connection'>Connect to a Coder workspace manually</a>
31-
gateway.connector.view.coder.workspaces.unsupported.coder.version=Coder version {0} might not be compatible with this plugin version. <a href='https://coder.com/docs/v2/latest/ides/gateway#creating-a-new-jetbrains-gateway-connection'>Connect to a Coder workspace manually</a>
30+
gateway.connector.view.coder.workspaces.invalid.coder.version=Could not parse Coder version {0}. Coder Gateway plugin might not be compatible with this version. <a href='https://coder.com/docs/user-guides/workspace-access/jetbrains#manually-configuring-a-jetbrains-gateway-connection'>Connect to a Coder workspace manually</a>
31+
gateway.connector.view.coder.workspaces.unsupported.coder.version=Coder version {0} might not be compatible with this plugin version. <a href='https://coder.com/docs/user-guides/workspace-access/jetbrains#manually-configuring-a-jetbrains-gateway-connection'>Connect to a Coder workspace manually</a>
3232
gateway.connector.view.workspaces.connect.failed=Connection to {0} failed. See above for details.
3333
gateway.connector.view.workspaces.connect.canceled=Connection to {0} canceled.
3434
gateway.connector.view.coder.connect-ssh=Establishing SSH connection to remote worker...

0 commit comments

Comments
 (0)