Skip to content

Commit

Permalink
Fix broken documentation link in Visualize app (#87250)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jan 5, 2021
1 parent 0af1d4b commit 09de023
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions docs/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,8 @@ This page has moved. Refer to <<url_templating-language>>.
=== Variables

This page has moved. Refer to <<url-template-variables>>.

[role="exclude",id="visualize"]
== Visualize

This page has been removed. Refer to <<dashboard>>.
2 changes: 1 addition & 1 deletion src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export class DocLinksService {
regressionEvaluation: `${ELASTIC_WEBSITE_URL}guide/en/machine-learning/${DOC_LINK_VERSION}/ml-dfanalytics-evaluate.html#ml-dfanalytics-regression-evaluation`,
},
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`,
lens: `${ELASTIC_WEBSITE_URL}what-is/kibana-lens`,
maps: `${ELASTIC_WEBSITE_URL}maps`,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/visualize/public/application/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
},
],
});
Expand Down

0 comments on commit 09de023

Please sign in to comment.