Add warning to the documentation_links file about link validation gotcha (#24786)
* add warning to the documentation_links file about link validation gotcha * Use Clint's full name
This commit is contained in:
parent
04568fcca6
commit
19e18ef121
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@
|
|||
|
||||
import { metadata } from '../metadata';
|
||||
|
||||
/*
|
||||
WARNING: The links in this file are validated during the docs build. This is accomplished with some regex magic that
|
||||
looks for these particular constants. As a result, we should not add new constants or change the existing ones.
|
||||
If you absolutely must make a change, talk to Clinton Gormley first so he can update his Perl scripts.
|
||||
*/
|
||||
export const DOC_LINK_VERSION = metadata.branch;
|
||||
export const ELASTIC_WEBSITE_URL = 'https://www.elastic.co/';
|
||||
const ELASTIC_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/elasticsearch/reference/${DOC_LINK_VERSION}/`;
|
||||
|
|
Loading…
Reference in a new issue