From bdad2b5c666c6b56bcbf10e84e39a66cad5e14be Mon Sep 17 00:00:00 2001 From: Martin Helmich Date: Wed, 19 Jul 2023 11:52:19 +0200 Subject: [PATCH] Do not include deprecated+redirected routes in API reference --- docusaurus.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index acdde778..8481987b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -82,13 +82,13 @@ const config = { }, { id: "v2", - spec: "https://api.mittwald.de/openapi", + spec: "https://api.mittwald.de/openapi?withRedirects=false", route: "/reference/v2", }, ], theme: { primaryColor: "#27367b", - primaryColorDark: "#abb9ff" + primaryColorDark: "#abb9ff", }, }, ], @@ -154,7 +154,7 @@ const config = { { label: "Reference", to: "/reference/v2", - } + }, ], }, {