fix(redirects): add /current path support for latest version#38
fix(redirects): add /current path support for latest version#38gbartolini merged 1 commit intomainfrom
Conversation
|
This is an explanation of how it works (thanks, Claude):
|
|
@mnencia I have not been able to make it work. can you please help me? |
|
@gbartolini i used the following command |
1 similar comment
This comment has been minimized.
This comment has been minimized.
|
I am just using these: https://github.com/cloudnative-pg/docs/blob/main/README.md#installation |
|
@gbartolini That's why you don't see it. The redirect plugin is production-only and doesn't work in developer mode. See https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects |
Explains how to test production-only features like redirects using yarn build and yarn serve, addressing confusion from PR Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> #38 where redirects only work in production builds.
|
@gbartolini I've created #40 to add a note to the README.md about testing production-only features. |
Explains how to test production-only features like redirects using yarn build and yarn serve, addressing confusion from PR Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> #38 where redirects only work in production builds.
Explains how to test production-only features like redirects using yarn build and yarn serve, addressing confusion from PR #38 where redirects only work in production builds. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
The /current and /current/* paths were not accessible, causing 404 errors for external references. This implements native Docusaurus redirects using the createRedirects function to automatically map all /current/* paths to the corresponding paths in the latest version. Closes #24 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
The
/currentand/current/*paths were not accessible, causing 404 errors for external references. This implements native Docusaurus redirects using the createRedirects function to automatically map all/current/*paths to the corresponding paths in the latest version.Closes #24