2019-10-15 22:37:31 +02:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
import { ELASTIC_WEBSITE_URL, DOC_LINK_VERSION } from 'ui/documentation_links';
|
2019-11-20 12:06:53 +01:00
|
|
|
import { ChromeStart } from 'kibana/public';
|
2019-10-15 22:37:31 +02:00
|
|
|
|
2019-11-20 12:06:53 +01:00
|
|
|
export function addHelpMenuToAppChrome(chrome: ChromeStart) {
|
2019-11-20 20:39:33 +01:00
|
|
|
chrome.setHelpExtension({
|
|
|
|
appName: 'Lens',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
linkType: 'documentation',
|
|
|
|
href: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/lens.html`,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
linkType: 'github',
|
|
|
|
title: '[Lens]',
|
|
|
|
labels: ['Feature:Lens'],
|
|
|
|
},
|
|
|
|
],
|
2019-10-15 22:37:31 +02:00
|
|
|
});
|
|
|
|
}
|