grafana/public/app/core/utils/docsLinks.ts
Torkel Ödegaard 6789c6ef39
Transformations: Remove beta notice from transformations and field overrides (#26881)
* Transformations: Remove beta badge for transformations and field overrides

* Removed imports

* Update doc links
2020-08-10 10:58:45 +02:00

12 lines
508 B
TypeScript

import { DocsId } from '@grafana/data';
// TODO: Documentation links
const DOCS_LINKS: Record<DocsId, string> = {
[DocsId.Transformations]: 'https://grafana.com/docs/grafana/latest/panels/transformations',
[DocsId.FieldConfig]: 'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/',
[DocsId.FieldConfigOverrides]:
'https://grafana.com/docs/grafana/latest/panels/field-configuration-options/#override-a-field',
};
export const getDocsLink = (id: DocsId) => DOCS_LINKS[id];