Skip to content

Commit

Permalink
[MD]Update MD data source documentation link (#2693)
Browse files Browse the repository at this point in the history
Signed-off-by: Kristen Tian <tyarong@amazon.com>

Signed-off-by: Kristen Tian <tyarong@amazon.com>
(cherry picked from commit 1ecfee7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
github-actions[bot] committed Nov 4, 2022
1 parent c44be8b commit 981870b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/core/public/doc_links/doc_links_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ export class DocLinksService {
loadingData: `${OPENSEARCH_WEBSITE_DOCS}`,
introduction: `${OPENSEARCH_WEBSITE_DOCS}`,
},
dataSource: {
guide: `${OPENSEARCH_DASHBOARDS_VERSIONED_DOCS}discover/multi-data-sources/`,
},
management: {
opensearchDashboardsGeneralSettings: `${OPENSEARCH_WEBSITE_DOCS}`,
opensearchDashboardsSearchSettings: `${OPENSEARCH_WEBSITE_DOCS}`,
Expand Down Expand Up @@ -759,6 +762,9 @@ export interface DocLinksStart {
readonly loadingData: string;
readonly introduction: string;
};
readonly dataSource: {
readonly guide: string;
};
readonly scriptedFields: {
readonly scriptFields: string;
readonly scriptAggs: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ExperimentalCallout = ({ docLinks }: { docLinks: DocLinksStart }) =
defaultMessage="This feature is experimental and should not be used in a production environment. Any index patterns, visualization, and observability panels will be impacted if the feature is deactivated. For more information see "
/>
}
<EuiLink href={docLinks.links.noDocumentation.indexPatterns.introduction} target="_blank">
<EuiLink href={docLinks.links.noDocumentation.dataSource.guide} target="_blank">
{
<FormattedMessage
id="dataSourcesManagement.experimentalFeatureCallout.documentationText"
Expand Down

0 comments on commit 981870b

Please sign in to comment.