mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Enterprise Search] Add documentation link for BYOEI (#130494)
* Add link and type to doc links packages * Add link to UI
This commit is contained in:
parent
87fd4a4c67
commit
06740ff218
4 changed files with 11 additions and 1 deletions
|
@ -96,6 +96,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
|
|||
crawlRules: `${APP_SEARCH_DOCS}crawl-web-content.html#crawl-web-content-manage-crawl-rules`,
|
||||
curations: `${APP_SEARCH_DOCS}curations-guide.html`,
|
||||
duplicateDocuments: `${APP_SEARCH_DOCS}web-crawler-reference.html#web-crawler-reference-content-deduplication`,
|
||||
elasticsearchIndexedEngines: `${APP_SEARCH_DOCS}elasticsearch-engines.html`,
|
||||
entryPoints: `${APP_SEARCH_DOCS}crawl-web-content.html#crawl-web-content-manage-entry-points`,
|
||||
guide: `${APP_SEARCH_DOCS}index.html`,
|
||||
indexingDocuments: `${APP_SEARCH_DOCS}indexing-documents-guide.html`,
|
||||
|
|
|
@ -82,6 +82,7 @@ export interface DocLinks {
|
|||
readonly crawlRules: string;
|
||||
readonly curations: string;
|
||||
readonly duplicateDocuments: string;
|
||||
readonly elasticsearchIndexedEngines: string;
|
||||
readonly entryPoints: string;
|
||||
readonly guide: string;
|
||||
readonly indexingDocuments: string;
|
||||
|
|
|
@ -33,6 +33,7 @@ import {
|
|||
|
||||
import { i18n } from '@kbn/i18n';
|
||||
|
||||
import { docLinks } from '../../../shared/doc_links';
|
||||
import { parseQueryParams } from '../../../shared/query_params';
|
||||
import { ENGINES_TITLE } from '../engines';
|
||||
import { AppSearchPageTemplate } from '../layout';
|
||||
|
@ -212,7 +213,10 @@ export const EngineCreation: React.FC = () => {
|
|||
</p>
|
||||
<p>
|
||||
<small>
|
||||
<EuiLink href="#" target="_blank">
|
||||
<EuiLink
|
||||
href={docLinks.appSearchElasticsearchIndexedEngines}
|
||||
target="_blank"
|
||||
>
|
||||
{i18n.translate(
|
||||
'xpack.enterpriseSearch.engineCreation.elasticsearchIndexedLink',
|
||||
{
|
||||
|
|
|
@ -16,6 +16,7 @@ class DocLinks {
|
|||
public appSearchCurations: string;
|
||||
public appSearchDuplicateDocuments: string;
|
||||
public appSearchEntryPoints: string;
|
||||
public appSearchElasticsearchIndexedEngines: string;
|
||||
public appSearchGuide: string;
|
||||
public appSearchIndexingDocs: string;
|
||||
public appSearchIndexingDocsSchema: string;
|
||||
|
@ -95,6 +96,7 @@ class DocLinks {
|
|||
this.appSearchCurations = '';
|
||||
this.appSearchDuplicateDocuments = '';
|
||||
this.appSearchEntryPoints = '';
|
||||
this.appSearchElasticsearchIndexedEngines = '';
|
||||
this.appSearchGuide = '';
|
||||
this.appSearchIndexingDocs = '';
|
||||
this.appSearchIndexingDocsSchema = '';
|
||||
|
@ -174,6 +176,8 @@ class DocLinks {
|
|||
this.appSearchCrawlRules = docLinks.links.appSearch.crawlRules;
|
||||
this.appSearchCurations = docLinks.links.appSearch.curations;
|
||||
this.appSearchDuplicateDocuments = docLinks.links.appSearch.duplicateDocuments;
|
||||
this.appSearchElasticsearchIndexedEngines =
|
||||
docLinks.links.appSearch.elasticsearchIndexedEngines;
|
||||
this.appSearchEntryPoints = docLinks.links.appSearch.entryPoints;
|
||||
this.appSearchGuide = docLinks.links.appSearch.guide;
|
||||
this.appSearchIndexingDocs = docLinks.links.appSearch.indexingDocuments;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue