Skip to content

Commit

Permalink
Fixed up indexes, removed latest reversioning from indexes.
Browse files Browse the repository at this point in the history
Signed-off-by: Dj Walker-Morgan <[email protected]>
  • Loading branch information
djw-m committed Oct 21, 2024
1 parent 312c844 commit 83c9155
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5.6/reference/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5.6/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5/reference/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions product_docs/docs/pgd/5/reference/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions tools/automation/generators/refbuilder/refbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
}

0 comments on commit 83c9155

Please sign in to comment.