Skip to content

Commit

Permalink
Fix broken documentation link in Visualize app (#87250) (#87317)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl authored Jan 5, 2021
1 parent cf2046c commit b963d07
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion docs/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,9 @@ This page has moved. Refer to <<url_templating-language>>.
[[variables]]
=== Variables

This page has moved. Refer to <<url-template-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 @@ -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`,
},
},
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 b963d07

Please sign in to comment.