From 4aaff7226ac5b3ec75cd8773c5832e4867660f64 Mon Sep 17 00:00:00 2001 From: lcawl Date: Mon, 22 Nov 2021 14:27:55 -0800 Subject: [PATCH] [Fleet] Override branch in doc links --- .../custom_integrations/server/language_clients/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/custom_integrations/server/language_clients/index.ts b/src/plugins/custom_integrations/server/language_clients/index.ts index 0ce45dbcfcd87..c3a0f9d265924 100644 --- a/src/plugins/custom_integrations/server/language_clients/index.ts +++ b/src/plugins/custom_integrations/server/language_clients/index.ts @@ -151,7 +151,8 @@ export function registerLanguageClients( description: integration.description, type: 'ui_link', shipper: 'language_clients', - uiInternalPath: integration.docUrlTemplate.replace('{branch}', branch), + // Documentation for `main` branches is still published at a `master` URL. + uiInternalPath: integration.docUrlTemplate.replace('{branch}', 'master'), isBeta: false, icons, categories: ['elastic_stack', 'custom', 'language_client'],