Skip to content

Commit 3d4e8f5

Browse files
mattkimekibanamachine
authored andcommitted
[index pattern field editor] Update runtime field painless docs url (#100014)
* update runtime field painless docs url
1 parent 11e2bfb commit 3d4e8f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/plugins/index_pattern_field_editor/public/lib/documentation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import { DocLinksStart } from 'src/core/public';
1111
export const getLinks = (docLinks: DocLinksStart) => {
1212
const { DOC_LINK_VERSION, ELASTIC_WEBSITE_URL } = docLinks;
1313
const docsBase = `${ELASTIC_WEBSITE_URL}guide/en`;
14-
const esDocsBase = `${docsBase}/elasticsearch/reference/${DOC_LINK_VERSION}`;
1514
const painlessDocsBase = `${docsBase}/elasticsearch/painless/${DOC_LINK_VERSION}`;
15+
const kibanaDocsBase = `${docsBase}/kibana/${DOC_LINK_VERSION}`;
1616

1717
return {
18-
runtimePainless: `${esDocsBase}/runtime.html#runtime-mapping-fields`,
18+
runtimePainless: `${kibanaDocsBase}/managing-index-patterns.html#runtime-fields`,
1919
painlessSyntax: `${painlessDocsBase}/painless-lang-spec.html`,
2020
};
2121
};

0 commit comments

Comments
 (0)