We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f19fc commit 5e0ce6cCopy full SHA for 5e0ce6c
docusaurus.config.ts
@@ -216,10 +216,8 @@ const config: Config = {
216
}
217
],
218
createRedirects(existingPath) {
219
- const regex = /^\/guides\/community\/rfcs\/(.+)/;
220
- const match = existingPath.match(regex);
221
- if (match) {
222
- return `/developer/community/rfcs/${match[1]}`;
+ if (existingPath?.includes('/guides/community/rfcs/')) {
+ return existingPath.replace('/guides/community/rfcs/', '/developer/community/rfcs/');
223
224
return undefined;
225
0 commit comments