From 2cc5eaec619713be8f8e71ebc86868dfd6d61b82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=B6mer?= <30902964+manuelroemer@users.noreply.github.com> Date: Wed, 31 May 2023 10:25:17 +0200 Subject: [PATCH 1/2] Change the route of the code search to "/codes/search" to align with the output of the Piral CLI. --- src/pages/docs/docs.config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/docs/docs.config.json b/src/pages/docs/docs.config.json index f4e17859a..ee3cb0d1c 100644 --- a/src/pages/docs/docs.config.json +++ b/src/pages/docs/docs.config.json @@ -19,7 +19,7 @@ "./src/styles.scss" ], "pages": { - "/reference/codes/search": "./src/SearchPage.tsx" + "/code/search": "./src/SearchPage.tsx" }, "redirects": { "/": "/guidelines", @@ -29,6 +29,7 @@ "/reference/tooling/piral": "/tooling/build-piral", "/reference/extensions/:id?": "/plugins/:id", "/reference/plugins/:id?": "/plugins/:id", + "/reference/codes/search": "/code/search", "/reference/codes/:id": "/code/:id" }, "sitemap": { From 69bb26953dbf24b16f1024c36894d2a374a40ef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=B6mer?= <30902964+manuelroemer@users.noreply.github.com> Date: Wed, 31 May 2023 10:54:23 +0200 Subject: [PATCH 2/2] Remove redundant redirect. --- src/pages/docs/docs.config.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/docs/docs.config.json b/src/pages/docs/docs.config.json index ee3cb0d1c..0daf79277 100644 --- a/src/pages/docs/docs.config.json +++ b/src/pages/docs/docs.config.json @@ -29,7 +29,6 @@ "/reference/tooling/piral": "/tooling/build-piral", "/reference/extensions/:id?": "/plugins/:id", "/reference/plugins/:id?": "/plugins/:id", - "/reference/codes/search": "/code/search", "/reference/codes/:id": "/code/:id" }, "sitemap": {