From 9b811dfc818b5583bc78da8585136a3788c2ad00 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 20 Jun 2023 12:32:37 +0200 Subject: [PATCH] website: fix go-import Signed-off-by: Jens Langhammer --- website/src/pages/{api.jsx => api/index.jsx} | 0 website/src/pages/api/v3.jsx | 23 ++++++++++++++++++++ 2 files changed, 23 insertions(+) rename website/src/pages/{api.jsx => api/index.jsx} (100%) create mode 100644 website/src/pages/api/v3.jsx diff --git a/website/src/pages/api.jsx b/website/src/pages/api/index.jsx similarity index 100% rename from website/src/pages/api.jsx rename to website/src/pages/api/index.jsx diff --git a/website/src/pages/api/v3.jsx b/website/src/pages/api/v3.jsx new file mode 100644 index 000000000..7cdd45289 --- /dev/null +++ b/website/src/pages/api/v3.jsx @@ -0,0 +1,23 @@ +import React from "react"; +import Layout from "@theme/Layout"; +import Head from "@docusaurus/Head"; +import BrowserOnly from "@docusaurus/core/lib/client/exports/BrowserOnly"; + +function APIPage() { + return ( + + + + + + {() => { + window.location.pathname = "/developer-docs/api/"; + }} + + + ); +} +export default APIPage;