From aab46370aa2e05477c89e610d946529339c6f977 Mon Sep 17 00:00:00 2001 From: Robin Beck Date: Thu, 23 Sep 2021 11:23:06 -0600 Subject: [PATCH] Docs: redirect Desktop install links to Learn (#1556) * point install Desktop redirect to Learn * hide /api-concepts/desktop and redirect to Learn * add permanent redirect for /api-clients/desktop to Learn --- website/content/docs/getting-started/index.mdx | 3 +-- website/data/docs-nav-data.json | 5 +++++ website/redirects.js | 6 ++++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/website/content/docs/getting-started/index.mdx b/website/content/docs/getting-started/index.mdx index 3d891f85d0..c3ad7f31e6 100644 --- a/website/content/docs/getting-started/index.mdx +++ b/website/content/docs/getting-started/index.mdx @@ -15,8 +15,7 @@ The examples in Getting Started all revolve around running in `dev mode`. There 1. [Docker](https://docs.docker.com/get-docker/) is installed 1. A route to download the [Postgres Docker image](https://hub.docker.com/_/postgres) is available or a local image cache is available 1. A [Boundary binary](https://www.boundaryproject.io/downloads) in your `$PATH` -1. Optionally, an [installation of Boundary Desktop](/docs/api-clients/desktop#install-boundary-desktop) if you want to use the - desktop examples +1. Optionally, an [installation of Boundary Desktop](https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app) if you want to use the desktop examples ## What is Dev Mode? diff --git a/website/data/docs-nav-data.json b/website/data/docs-nav-data.json index eb4fb0faf4..f7164abb7b 100644 --- a/website/data/docs-nav-data.json +++ b/website/data/docs-nav-data.json @@ -76,7 +76,12 @@ }, { "title": "Desktop", + "hidden": true, "path": "api-clients/desktop" + }, + { + "title": "Desktop", + "href": "https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app" } ] }, diff --git a/website/redirects.js b/website/redirects.js index 91848ed79a..a1326a120f 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -29,6 +29,12 @@ module.exports = [ destination: '/docs/api-clients/desktop#connect', permanent: false, }, + { + source: '/docs/api-clients/desktop', + destination: + 'https://learn.hashicorp.com/tutorials/boundary/getting-started-desktop-app', + permanent: true, + }, ///////////////////////////////// // DOMAIN MODEL CONCEPTS