From b963d07eb6b70ac095f0ed59cbc54562870a555e Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Tue, 5 Jan 2021 09:14:11 -0800 Subject: [PATCH] Fix broken documentation link in Visualize app (#87250) (#87317) --- docs/redirects.asciidoc | 7 ++++++- src/core/public/doc_links/doc_links_service.ts | 2 +- src/plugins/visualize/public/application/utils/utils.ts | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/redirects.asciidoc b/docs/redirects.asciidoc index f5e9f44a94a5e..585fa534ce7a7 100644 --- a/docs/redirects.asciidoc +++ b/docs/redirects.asciidoc @@ -213,4 +213,9 @@ This page has moved. Refer to <>. [[variables]] === Variables -This page has moved. Refer to <>. \ No newline at end of file +This page has moved. Refer to <>. + +[role="exclude",id="visualize"] +== Visualize + +This page has been removed. Refer to <>. \ No newline at end of file diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index 6672288715615..12c08199f61be 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -133,7 +133,7 @@ export class DocLinksService { dashboardSettings: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/advanced-options.html#kibana-dashboard-settings`, }, visualize: { - guide: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/visualize.html`, + guide: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/dashboard.html`, timelionDeprecation: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/dashboard.html#timelion-deprecation`, }, }, diff --git a/src/plugins/visualize/public/application/utils/utils.ts b/src/plugins/visualize/public/application/utils/utils.ts index 3d8d443d714a5..779cfb22f7bca 100644 --- a/src/plugins/visualize/public/application/utils/utils.ts +++ b/src/plugins/visualize/public/application/utils/utils.ts @@ -31,7 +31,7 @@ export const addHelpMenuToAppChrome = (chrome: ChromeStart, docLinks: DocLinksSt links: [ { linkType: 'documentation', - href: `${docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${docLinks.DOC_LINK_VERSION}/visualize.html`, + href: `${docLinks.links.visualize.guide}`, }, ], });