Skip to content

Commit

Permalink
Merge pull request #6171 from EnterpriseDB/docs/fix/indexfixoct21
Browse files Browse the repository at this point in the history
Fixed up indexes, removed latest reversioning from indexes.
  • Loading branch information
djw-m authored Oct 21, 2024
2 parents 312c844 + 83c9155 commit d8e8500
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}`;
}

1 comment on commit d8e8500

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.