Fix link to Enterprise Search language clients doc (#139753)

https://github.com/elastic/enterprise-search-team/issues/2446
This commit is contained in:
Chris Cressman 2022-09-08 14:00:18 -04:00 committed by GitHub
parent 5521574db2
commit d16459f870
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 1 deletions

View file

@ -126,6 +126,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
crawlerManaging: `${ENTERPRISE_SEARCH_DOCS}crawler-managing.html`,
crawlerOverview: `${ENTERPRISE_SEARCH_DOCS}crawler.html`,
languageAnalyzers: `${ELASTICSEARCH_DOCS}analysis-lang-analyzer.html`,
languageClients: `${ENTERPRISE_SEARCH_DOCS}programming-language-clients.html`,
licenseManagement: `${ENTERPRISE_SEARCH_DOCS}license-management.html`,
mailService: `${ENTERPRISE_SEARCH_DOCS}mailer-configuration.html`,
start: `${ENTERPRISE_SEARCH_DOCS}start.html`,

View file

@ -112,6 +112,7 @@ export interface DocLinks {
readonly crawlerManaging: string;
readonly crawlerOverview: string;
readonly languageAnalyzers: string;
readonly languageClients: string;
readonly licenseManagement: string;
readonly mailService: string;
readonly start: string;

View file

@ -145,7 +145,7 @@ export const ProductSelector: React.FC<ProductSelectorProps> = ({
defaultMessage: 'Set up a language client',
}
),
to: docLinks.start,
to: docLinks.languageClients,
},
{
label: i18n.translate(

View file

@ -70,6 +70,7 @@ class DocLinks {
public enterpriseSearchUsersAccess: string;
public kibanaSecurity: string;
public languageAnalyzers: string;
public languageClients: string;
public licenseManagement: string;
public pluginsIngestAttachment: string;
public queryDsl: string;
@ -175,6 +176,7 @@ class DocLinks {
this.enterpriseSearchUsersAccess = '';
this.kibanaSecurity = '';
this.languageAnalyzers = '';
this.languageClients = '';
this.licenseManagement = '';
this.pluginsIngestAttachment = '';
this.queryDsl = '';
@ -282,6 +284,7 @@ class DocLinks {
this.enterpriseSearchUsersAccess = docLinks.links.enterpriseSearch.usersAccess;
this.kibanaSecurity = docLinks.links.kibana.xpackSecurity;
this.languageAnalyzers = docLinks.links.enterpriseSearch.languageAnalyzers;
this.languageClients = docLinks.links.enterpriseSearch.languageClients;
this.licenseManagement = docLinks.links.enterpriseSearch.licenseManagement;
this.pluginsIngestAttachment = docLinks.links.plugins.ingestAttachment;
this.queryDsl = docLinks.links.query.queryDsl;