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.
|
|
|
|
*/
|
|
|
|
|
2020-04-15 12:22:37 +02:00
|
|
|
import { ChromeStart, DocLinksStart } from 'kibana/public';
|
2019-10-15 22:37:31 +02:00
|
|
|
|
2020-04-15 12:22:37 +02:00
|
|
|
export function addHelpMenuToAppChrome(chrome: ChromeStart, docLinks: DocLinksStart) {
|
2019-11-20 20:39:33 +01:00
|
|
|
chrome.setHelpExtension({
|
|
|
|
appName: 'Lens',
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
linkType: 'documentation',
|
2020-04-15 12:22:37 +02:00
|
|
|
href: `${docLinks.ELASTIC_WEBSITE_URL}guide/en/kibana/${docLinks.DOC_LINK_VERSION}/lens.html`,
|
2019-11-20 20:39:33 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
linkType: 'github',
|
|
|
|
title: '[Lens]',
|
|
|
|
labels: ['Feature:Lens'],
|
|
|
|
},
|
|
|
|
],
|
2019-10-15 22:37:31 +02:00
|
|
|
});
|
|
|
|
}
|