diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 0bf9ba6e..7c06a946 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -93,7 +93,7 @@ const config: Config = { remarkPlugins: [[require('@docusaurus/remark-plugin-npm2yarn'), { sync: true }]], }, ], - + // Release Notes documentation [ '@docusaurus/plugin-content-docs', @@ -110,7 +110,7 @@ const config: Config = { }, }, ], - + // Theme [ '@docusaurus/theme-classic', @@ -118,7 +118,7 @@ const config: Config = { customCss: './src/css/custom.css', }, ], - + // Redirects [ '@docusaurus/plugin-client-redirects', diff --git a/redirects.ts b/redirects.ts index 3d08de2f..60b9b904 100644 --- a/redirects.ts +++ b/redirects.ts @@ -8,8 +8,7 @@ type RedirectRule = { // Release notes redirects (not affected by base path) function generateReleaseNotesRedirects(): RedirectRule[] { - return [ - ]; + return []; } // Documentation redirects @@ -20,7 +19,17 @@ function generateDocsRedirects(basePath: string): RedirectRule[] { return basePath === '/' ? path : `${basePath}${path}`; }; - return [ + const redirects: RedirectRule[] = []; + + // Only add root redirect if docs are not at root + if (basePath !== '/') { + redirects.push({ + from: '/', + to: basePath, + }); + } + + redirects.push( // Operations API { from: withBase('/developers/operations-api/utilities'), @@ -145,16 +154,15 @@ function generateDocsRedirects(basePath: string): RedirectRule[] { { from: withBase('/api'), to: withBase('/developers/operations-api/') }, // File rename redirect - { from: withBase('/administration/logging/logging'), to: withBase('/administration/logging/standard-logging') }, - ]; + { from: withBase('/administration/logging/logging'), to: withBase('/administration/logging/standard-logging') } + ); + + return redirects; } // Combine all redirects export function generateRedirects(basePath: string): RedirectRule[] { - return [ - ...generateReleaseNotesRedirects(), - ...generateDocsRedirects(basePath), - ]; + return [...generateReleaseNotesRedirects(), ...generateDocsRedirects(basePath)]; } // For backward compatibility, export a default set with empty base path diff --git a/release-notes/v4-tucker/4.6.4.md b/release-notes/v4-tucker/4.6.4.md index d98039c6..b62fc2c3 100644 --- a/release-notes/v4-tucker/4.6.4.md +++ b/release-notes/v4-tucker/4.6.4.md @@ -6,7 +6,7 @@ title: 4.6.4 8/1/2025 -- Fix for sending blobs on-demand without deleting before sent +- Fix for sending blobs on-demand without deleting before sent - Fix for copying blobs in full table copy in a clone - Freeze records in new resource mode - Improvement in connection handling with disconnections diff --git a/release-notes/v4-tucker/4.6.5.md b/release-notes/v4-tucker/4.6.5.md index b37ee591..fa500f38 100644 --- a/release-notes/v4-tucker/4.6.5.md +++ b/release-notes/v4-tucker/4.6.5.md @@ -8,4 +8,4 @@ title: 4.6.5 - Add more analytics for replication, including transfer for blobs - Avoid attempts to connect to oneself for missing data -- Adjustments to logging \ No newline at end of file +- Adjustments to logging diff --git a/release-notes/v4-tucker/4.6.6.md b/release-notes/v4-tucker/4.6.6.md index 10bbd674..af07bd4c 100644 --- a/release-notes/v4-tucker/4.6.6.md +++ b/release-notes/v4-tucker/4.6.6.md @@ -9,4 +9,4 @@ title: 4.6.6 - Fix the auditing of hdb_nodes on install to ensure full connection of nodes when joining - Copy blob buffers to ensure that small buffers are not replaced with frequent usage - Separate replication subscription connections from on-demand connection retrieval -- Fix for fail over connection handling \ No newline at end of file +- Fix for fail over connection handling diff --git a/release-notes/v4-tucker/4.7.0.md b/release-notes/v4-tucker/4.7.0.md index b9dac441..d1918b30 100644 --- a/release-notes/v4-tucker/4.7.0.md +++ b/release-notes/v4-tucker/4.7.0.md @@ -9,4 +9,4 @@ title: 4.7.0 - A new component status monitoring collects status from each component from loading and any registered notification of status changes. - OCSP is now supported, and can be used to invalidate TLS certificates used for replication and HTTP through an OCSP server. - New analytics and licensing functionality has been added for integration with Fabric services. -- Further improvements to the plugin API \ No newline at end of file +- Further improvements to the plugin API diff --git a/sidebarsReleaseNotes.ts b/sidebarsReleaseNotes.ts index a1d8c21c..e46266c9 100644 --- a/sidebarsReleaseNotes.ts +++ b/sidebarsReleaseNotes.ts @@ -46,4 +46,4 @@ const sidebarsReleaseNotes: SidebarsConfig = { ], }; -export default sidebarsReleaseNotes; \ No newline at end of file +export default sidebarsReleaseNotes;