From 83c91551e27814e4a16a5bfe7d67c01348d69602 Mon Sep 17 00:00:00 2001 From: Dj Walker-Morgan Date: Mon, 21 Oct 2024 17:38:46 +0100 Subject: [PATCH] Fixed up indexes, removed latest reversioning from indexes. Signed-off-by: Dj Walker-Morgan --- product_docs/docs/pgd/5.6/reference/index.json | 1 + product_docs/docs/pgd/5.6/reference/index.mdx | 1 + product_docs/docs/pgd/5/reference/index.json | 1 + product_docs/docs/pgd/5/reference/index.mdx | 1 + tools/automation/generators/refbuilder/refbuilder.js | 6 +++--- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/product_docs/docs/pgd/5.6/reference/index.json b/product_docs/docs/pgd/5.6/reference/index.json index 75dd89ea1db..1029e5a00e8 100644 --- a/product_docs/docs/pgd/5.6/reference/index.json +++ b/product_docs/docs/pgd/5.6/reference/index.json @@ -299,6 +299,7 @@ "bdrevent_history": "/pgd/5.6/reference/catalogs-internal#bdrevent_history", "bdrevent_summary": "/pgd/5.6/reference/catalogs-internal#bdrevent_summary", "bdrnode_config": "/pgd/5.6/reference/catalogs-internal#bdrnode_config", + "bdrnode_config_summary": "/pgd/5.6/reference/catalogs-internal#bdrnode_config_summary", "bdrnode_group_config": "/pgd/5.6/reference/catalogs-internal#bdrnode_group_config", "bdrnode_group_routing_config_summary": "/pgd/5.6/reference/catalogs-internal#bdrnode_group_routing_config_summary", "bdrnode_group_routing_info": "/pgd/5.6/reference/catalogs-internal#bdrnode_group_routing_info", diff --git a/product_docs/docs/pgd/5.6/reference/index.mdx b/product_docs/docs/pgd/5.6/reference/index.mdx index b8e984b792e..a3d83796ced 100644 --- a/product_docs/docs/pgd/5.6/reference/index.mdx +++ b/product_docs/docs/pgd/5.6/reference/index.mdx @@ -424,6 +424,7 @@ The reference section is a definitive listing of all functions, views, and comma * [`bdr.event_history`](catalogs-internal#bdrevent_history) * [`bdr.event_summary`](catalogs-internal#bdrevent_summary) * [`bdr.node_config`](catalogs-internal#bdrnode_config) + * [`bdr.node_config_summary`](catalogs-internal#bdrnode_config_summary) * [`bdr.node_group_config`](catalogs-internal#bdrnode_group_config) * [`bdr.node_group_routing_config_summary`](catalogs-internal#bdrnode_group_routing_config_summary) * [`bdr.node_group_routing_info`](catalogs-internal#bdrnode_group_routing_info) diff --git a/product_docs/docs/pgd/5/reference/index.json b/product_docs/docs/pgd/5/reference/index.json index 8a275a29ac8..fbce200c01e 100644 --- a/product_docs/docs/pgd/5/reference/index.json +++ b/product_docs/docs/pgd/5/reference/index.json @@ -286,6 +286,7 @@ "bdrevent_history": "/pgd/5/reference/catalogs-internal#bdrevent_history", "bdrevent_summary": "/pgd/5/reference/catalogs-internal#bdrevent_summary", "bdrnode_config": "/pgd/5/reference/catalogs-internal#bdrnode_config", + "bdrnode_config_summary": "/pgd/5/reference/catalogs-internal#bdrnode_config_summary", "bdrnode_group_config": "/pgd/5/reference/catalogs-internal#bdrnode_group_config", "bdrnode_group_routing_config_summary": "/pgd/5/reference/catalogs-internal#bdrnode_group_routing_config_summary", "bdrnode_group_routing_info": "/pgd/5/reference/catalogs-internal#bdrnode_group_routing_info", diff --git a/product_docs/docs/pgd/5/reference/index.mdx b/product_docs/docs/pgd/5/reference/index.mdx index b8200415e1d..9f6848babb1 100644 --- a/product_docs/docs/pgd/5/reference/index.mdx +++ b/product_docs/docs/pgd/5/reference/index.mdx @@ -408,6 +408,7 @@ The reference section is a definitive listing of all functions, views, and comma * [`bdr.event_history`](catalogs-internal#bdrevent_history) * [`bdr.event_summary`](catalogs-internal#bdrevent_summary) * [`bdr.node_config`](catalogs-internal#bdrnode_config) + * [`bdr.node_config_summary`](catalogs-internal#bdrnode_config_summary) * [`bdr.node_group_config`](catalogs-internal#bdrnode_group_config) * [`bdr.node_group_routing_config_summary`](catalogs-internal#bdrnode_group_routing_config_summary) * [`bdr.node_group_routing_info`](catalogs-internal#bdrnode_group_routing_info) diff --git a/tools/automation/generators/refbuilder/refbuilder.js b/tools/automation/generators/refbuilder/refbuilder.js index 2948d8d09fe..72abd39664b 100644 --- a/tools/automation/generators/refbuilder/refbuilder.js +++ b/tools/automation/generators/refbuilder/refbuilder.js @@ -182,8 +182,8 @@ function anchorize(text) { function makeAbsoluteReferenceLink(filepath, shortname) { let parsed = path.parse(filepath); let cleanFilename = path.join(parsed.dir, parsed.name); - let referenceBase = cleanFilename - .slice(cleanFilename.indexOf(productMarker) + productMarker.length) - .replace(/\/[0-9]+\//, "/latest/"); + let referenceBase = cleanFilename.slice( + cleanFilename.indexOf(productMarker) + productMarker.length, + ); return `${referenceBase}#${shortname}`; }