@@ -24,6 +24,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
2424 const ELASTIC_WEBSITE_URL = meta . elasticWebsiteUrl ;
2525 const ELASTIC_GITHUB = meta . elasticGithubUrl ;
2626 const SEARCH_LABS_URL = meta . searchLabsUrl ;
27+ const ELASTIC_DOCS = meta . docsWebsiteUrl ;
2728
2829 const ELASTICSEARCH_DOCS = `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/reference/${ DOC_LINK_VERSION } /` ;
2930 const KIBANA_DOCS = `${ ELASTIC_WEBSITE_URL } guide/en/kibana/${ DOC_LINK_VERSION } /` ;
@@ -41,11 +42,11 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
4142 const isServerless = buildFlavor === 'serverless' ;
4243
4344 return deepFreeze ( {
44- settings : `${ ELASTIC_WEBSITE_URL } guide/en/ kibana/${ DOC_LINK_VERSION } /settings.html ` ,
45+ settings : `${ ELASTIC_DOCS } reference/ kibana/configuration-reference ` ,
4546 elasticStackGetStarted : isServerless
46- ? `${ SERVERLESS_DOCS } intro.html `
47- : `${ ELASTIC_WEBSITE_URL } guide/en/index.html ` ,
48- apiReference : `${ ELASTIC_WEBSITE_URL } guide/en/starting-with-the-elasticsearch-platform-and-its-solutions/current/api-reference.html ` ,
47+ ? `${ ELASTIC_DOCS } deploy-manage/deploy/elastic-cloud/serverless `
48+ : `${ ELASTIC_DOCS } get-started ` ,
49+ apiReference : `${ ELASTIC_DOCS } apis ` ,
4950 upgrade : {
5051 upgradingStackOnPrem : `${ ELASTIC_WEBSITE_URL } guide/en/elastic-stack/current/upgrading-elastic-stack-on-prem.html` ,
5152 upgradingStackOnCloud : `${ ELASTIC_WEBSITE_URL } guide/en/elastic-stack/current/upgrade-elastic-stack-for-elastic-cloud.html` ,
@@ -604,49 +605,34 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
604605 aiAssistant : `${ OBSERVABILITY_DOCS } obs-ai-assistant.html` ,
605606 } ,
606607 alerting : {
607- guide : isServerless
608- ? `${ SERVERLESS_DOCS } rules.html`
609- : `${ KIBANA_DOCS } create-and-manage-rules.html` ,
610- actionTypes : isServerless
611- ? `${ SERVERLESS_DOCS } action-connectors.html`
612- : `${ KIBANA_DOCS } action-types.html` ,
613- apmRulesErrorCount : isServerless
614- ? `${ SERVERLESS_DOCS } observability-create-error-count-threshold-alert-rule.html`
615- : `${ KIBANA_DOCS } apm-alerts.html` ,
616- apmRulesTransactionDuration : isServerless
617- ? `${ SERVERLESS_DOCS } observability-create-latency-threshold-alert-rule.html`
618- : `${ KIBANA_DOCS } apm-alerts.html` ,
619- apmRulesTransactionError : isServerless
620- ? `${ SERVERLESS_DOCS } observability-create-failed-transaction-rate-threshold-alert-rule.html`
621- : `${ KIBANA_DOCS } apm-alerts.html` ,
622- apmRulesAnomaly : isServerless
623- ? `${ SERVERLESS_DOCS } observability-create-anomaly-alert-rule.html`
624- : `${ KIBANA_DOCS } apm-alerts.html` ,
625- emailAction : `${ KIBANA_DOCS } email-action-type.html` ,
626- emailActionConfig : `${ KIBANA_DOCS } email-action-type.html` ,
627- emailExchangeClientSecretConfig : `${ KIBANA_DOCS } email-action-type.html#exchange-client-secret` ,
628- emailExchangeClientIdConfig : `${ KIBANA_DOCS } email-action-type.html#exchange-client-tenant-id` ,
629- generalSettings : `${ KIBANA_DOCS } alert-action-settings-kb.html#general-alert-action-settings` ,
630- indexAction : `${ KIBANA_DOCS } index-action-type.html` ,
631- esQuery : `${ KIBANA_DOCS } rule-type-es-query.html` ,
632- indexThreshold : `${ KIBANA_DOCS } rule-type-index-threshold.html` ,
633- maintenanceWindows : isServerless
634- ? `${ SERVERLESS_DOCS } maintenance-windows.html`
635- : `${ KIBANA_DOCS } maintenance-windows.html` ,
636- pagerDutyAction : `${ KIBANA_DOCS } pagerduty-action-type.html` ,
637- preconfiguredConnectors : `${ KIBANA_DOCS } pre-configured-connectors.html` ,
638- preconfiguredAlertHistoryConnector : `${ KIBANA_DOCS } pre-configured-connectors.html#preconfigured-connector-alert-history` ,
639- serviceNowAction : `${ KIBANA_DOCS } servicenow-action-type.html#configuring-servicenow` ,
640- serviceNowSIRAction : `${ KIBANA_DOCS } servicenow-sir-action-type.html` ,
641- setupPrerequisites : `${ KIBANA_DOCS } alerting-setup.html#alerting-prerequisites` ,
642- slackAction : `${ KIBANA_DOCS } slack-action-type.html#configuring-slack-webhook` ,
643- slackApiAction : `${ KIBANA_DOCS } slack-action-type.html#configuring-slack-web-api` ,
644- teamsAction : `${ KIBANA_DOCS } teams-action-type.html#configuring-teams` ,
645- connectors : `${ KIBANA_DOCS } action-types.html` ,
646- legacyRuleApiDeprecations : `${ KIBANA_DOCS } breaking-changes-summary.html#breaking-201550` ,
608+ guide : `${ ELASTIC_DOCS } explore-analyze/alerts-cases/alerts/create-manage-rules` ,
609+ actionTypes : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana` ,
610+ apmRulesErrorCount : `${ ELASTIC_DOCS } solutions/observability/incident-management/create-an-error-count-threshold-rule` ,
611+ apmRulesTransactionDuration : `${ ELASTIC_DOCS } solutions/observability/incident-management/create-latency-threshold-rule` ,
612+ apmRulesTransactionError : `${ ELASTIC_DOCS } solutions/observability/incident-management/create-failed-transaction-rate-threshold-rule` ,
613+ apmRulesAnomaly : `${ ELASTIC_DOCS } solutions/observability/incident-management/create-an-apm-anomaly-rule` ,
614+ emailAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/email-action-type` ,
615+ emailActionConfig : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/email-action-type` ,
616+ emailExchangeClientSecretConfig : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/email-action-type#exchange-client-secret` ,
617+ emailExchangeClientIdConfig : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/email-action-type#exchange-client-tenant-id` ,
618+ generalSettings : `${ ELASTIC_DOCS } reference/kibana/configuration-reference/alerting-settings#general-alert-action-settings` ,
619+ indexAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/index-action-type` ,
620+ esQuery : `${ ELASTIC_DOCS } explore-analyze/alerts-cases/alerts/rule-type-es-query` ,
621+ indexThreshold : `${ ELASTIC_DOCS } explore-analyze/alerts-cases/alerts/rule-type-index-threshold` ,
622+ maintenanceWindows : `${ ELASTIC_DOCS } explore-analyze/alerts-cases/alerts/maintenance-windows` ,
623+ pagerDutyAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/pagerduty-action-type` ,
624+ preconfiguredConnectors : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/pre-configured-connectors` ,
625+ preconfiguredAlertHistoryConnector : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/pre-configured-connectors#preconfigured-connector-alert-history` ,
626+ serviceNowAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/servicenow-action-type#configuring-servicenow` ,
627+ serviceNowSIRAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/servicenow-sir-action-type` ,
628+ setupPrerequisites : `${ ELASTIC_DOCS } explore-analyze/alerts-cases/alerts/alerting-setup#alerting-prerequisites` ,
629+ slackAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/slack-action-type#configuring-slack-webhook` ,
630+ slackApiAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/slack-action-type#configuring-slack-web-api` ,
631+ teamsAction : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana/teams-action-type#configuring-teams` ,
632+ connectors : `${ ELASTIC_DOCS } reference/kibana/connectors-kibana` ,
647633 } ,
648634 taskManager : {
649- healthMonitoring : `${ KIBANA_DOCS } task-manager-health-monitoring.html ` ,
635+ healthMonitoring : `${ ELASTIC_DOCS } deploy-manage/monitor/kibana- task-manager-health-monitoring` ,
650636 } ,
651637 maps : {
652638 connectToEms : `${ KIBANA_DOCS } maps-connect-to-ems.html` ,
@@ -672,10 +658,9 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
672658 troubleshootKibana : `${ KIBANA_DOCS } monitor-troubleshooting.html` ,
673659 } ,
674660 reporting : {
675- cloudMinimumRequirements : `${ KIBANA_DOCS } reporting-getting-started.html#reporting-on-cloud-resource-requirements` ,
676- grantUserAccess : `${ KIBANA_DOCS } secure-reporting.html#grant-user-access` ,
677- browserSystemDependencies : `${ KIBANA_DOCS } secure-reporting.html#install-reporting-packages` ,
678- browserSandboxDependencies : `${ KIBANA_DOCS } reporting-troubleshooting-pdf.html#reporting-troubleshooting-sandbox-dependency` ,
661+ cloudMinimumRequirements : `${ ELASTIC_DOCS } explore-analyze/report-and-share#_embed_outside_of_kib` ,
662+ browserSystemDependencies : `${ ELASTIC_DOCS } deploy-manage/kibana-reporting-configuration#install-reporting-packages` ,
663+ browserSandboxDependencies : `${ ELASTIC_DOCS } explore-analyze/report-and-share/reporting-troubleshooting-pdf#reporting-troubleshooting-sandbox-dependency` ,
679664 } ,
680665 security : {
681666 apiKeyServiceSettings : `${ ELASTICSEARCH_DOCS } security-settings.html#api-key-service-settings` ,
@@ -979,9 +964,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
979964 inferenceManagement : {
980965 inferenceAPIDocumentation : `${ ELASTIC_WEBSITE_URL } docs/api/doc/elasticsearch/operation/operation-inference-put` ,
981966 } ,
982- cases : {
983- legacyApiDeprecations : `${ KIBANA_DOCS } breaking-changes-summary.html#breaking-201004` ,
984- } ,
985967 synonyms : {
986968 synonymsAPIDocumentation : `${ ELASTIC_WEBSITE_URL } guide/en/elasticsearch/reference/current/synonyms-apis.html` ,
987969 } ,
0 commit comments