Skip to content

Commit

Permalink
update runtime field painless docs url
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkime committed May 13, 2021
1 parent 63f18aa commit e7e9ea4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ import { DocLinksStart } from 'src/core/public';
export const getLinks = (docLinks: DocLinksStart) => {
const { DOC_LINK_VERSION, ELASTIC_WEBSITE_URL } = docLinks;
const docsBase = `${ELASTIC_WEBSITE_URL}guide/en`;
const esDocsBase = `${docsBase}/elasticsearch/reference/${DOC_LINK_VERSION}`;
const painlessDocsBase = `${docsBase}/elasticsearch/painless/${DOC_LINK_VERSION}`;

return {
runtimePainless: `${esDocsBase}/runtime.html#runtime-mapping-fields`,
runtimePainless: `${docsBase}/kibana/master/managing-index-patterns.html#runtime-fields`,
painlessSyntax: `${painlessDocsBase}/painless-lang-spec.html`,
};
};

0 comments on commit e7e9ea4

Please sign in to comment.